Started by user Jenkins Admin Obtained pipelines/pingcap/tidb/latest/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/latest/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-ghpr-unit-test-8951-9vwww-rl1kw-p49kq Still waiting to schedule task Waiting for next available executor on β€˜pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq’ Agent pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq is provisioned from template pingcap_tidb_ghpr_unit_test_8951-9vwww-rl1kw --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/" runUrl: "job/pingcap/job/tidb/job/ghpr_unit_test/8951/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "63b16b6fda615ffdb2e672f4e3a6b35fd01b48c3" jenkins/label: "pingcap_tidb_ghpr_unit_test_8951-9vwww" name: "pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq" namespace: "jenkins-tidb" spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: "kubernetes.io/arch" operator: "In" values: - "amd64" - key: "ci-nvme-high-performance" operator: "In" values: - "true" containers: - image: "hub.pingcap.net/wangweizhen/tidb_image:go12120230809" lifecycle: postStart: exec: command: - "/bin/sh" - "/data/bazel-prepare-in-container.sh" name: "golang" resources: requests: memory: "32Gi" cpu: "16" securityContext: privileged: true tty: true volumeMounts: - 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: "/share/.cache/bazel-repository-cache" name: "bazel-repository-cache" - 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 - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.apps.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq" - 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: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" Running on pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq in /home/jenkins/agent/workspace/pingcap/tidb/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/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 > 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 Avoid second fetch Checking out Revision 03312178c534dce949face80c69812d989e55009 (origin/main) Commit message: "fix(br): use failpoint tidb-server instead (#2951)" > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03312178c534dce949face80c69812d989e55009 # timeout=10 > 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=f5d446d1-d99d-44e6-96a9-adc90672cf87 JENKINS_NODE_COOKIE=3d2bc43c-6f15-4787-80c0-9a15d3bf1ad8 BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/ GOLANG_VERSION=1.21.0 HOSTNAME=pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq HUDSON_SERVER_COOKIE=83ef27fe9acccc92 KUBERNETES_PORT=tcp://10.233.0.1:443 KUBERNETES_PORT_443_TCP_PORT=443 TERM=xterm STAGE_NAME=Debug info BUILD_TAG=jenkins-pingcap-tidb-ghpr_unit_test-8951 KUBERNETES_SERVICE_PORT=443 GIT_PREVIOUS_COMMIT=03312178c534dce949face80c69812d989e55009 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_unit_test","buildid":"1787430196891095041","prowjobid":"f5d446d1-d99d-44e6-96a9-adc90672cf87","refs":{"org":"pingcap","repo":"tidb","repo_link":"https://github.com/pingcap/tidb","base_ref":"master","base_sha":"3ca57c1ff297b3ecabf6f7d509d86b0081d8e2b1","base_link":"https://github.com/pingcap/tidb/commit/3ca57c1ff297b3ecabf6f7d509d86b0081d8e2b1","pulls":[{"number":52663,"author":"hawkingrei","sha":"764c03c5659efaf4dbc9b48d197d7ef1a765c4eb","title":"variable: add all text series types into tidb_analyze_skip_column_types | tidb-test=pr/2319","link":"https://github.com/pingcap/tidb/pull/52663","commit_link":"https://github.com/pingcap/tidb/pull/52663/commits/764c03c5659efaf4dbc9b48d197d7ef1a765c4eb","author_link":"https://github.com/hawkingrei"}]}} KUBERNETES_SERVICE_HOST=10.233.0.1 WORKSPACE=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/ RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/display/redirect?page=changes RUN_ARTIFACTS_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/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/ghpr_unit_test/8951/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/ghpr_unit_test HUDSON_URL=https://do.pingcap.net/jenkins/ JOB_NAME=pingcap/tidb/ghpr_unit_test TZ=Asia/Shanghai BUILD_DISPLAY_NAME=#8951 JENKINS_URL=https://do.pingcap.net/jenkins/ BUILD_ID=1787430196891095041 GOLANG_DOWNLOAD_SHA256=d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742 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/ghpr_unit_test/8951/display/redirect?page=tests SHLVL=3 HOME=/home/jenkins POD_LABEL=pingcap_tidb_ghpr_unit_test_8951-9vwww 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/ghpr_unit_test@tmp EXECUTOR_NUMBER=0 JENKINS_SERVER_COOKIE=durable-3e6615fe387e271fb81c7aa6ce66020ac56f1fb2ffea951b4ecc03fd51f30988 NODE_LABELS=pingcap_tidb_ghpr_unit_test_8951-9vwww pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq GIT_URL=https://github.com/PingCAP-QE/ci.git HUDSON_HOME=/var/jenkins_home CLASSPATH= NODE_NAME=pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq GOPATH=/go JOB_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/display/redirect BUILD_NUMBER=8951 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.21.0.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='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.21.0' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/dev/null' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1385262970=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + ls -l /dev/null crw-rw-rw-. 1 jenkins root 1, 3 May 6 18:32 /dev/null + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-unit-test-8951-9vwww-rl1kw-p49kq 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: 3346 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 04955256afc184e9 (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 26 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 10:33:01 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/ghpr_unit_test/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-3ca57c1) 460755456 bytes in 8.64 secs (53307284 bytes/sec) [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $SSH_KEY [Pipeline] { [Pipeline] sh + '[' -d /home/jenkins/.ssh ']' + mkdir /home/jenkins/.ssh + chmod 0700 /home/jenkins/.ssh + cp **** /home/jenkins/.ssh/id_rsa + chmod 400 /home/jenkins/.ssh/id_rsa + ssh-keyscan -t rsa,dsa github.com # github.com:22 SSH-2.0-babeld-9713928c # github.com:22 SSH-2.0-babeld-9713928c [Pipeline] } [Pipeline] // withCredentials [Pipeline] retry [Pipeline] { [Pipeline] sh git version 2.37.2 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.git/ .git HEAD is now at 3ca57c1ff2 planner: fix index merge shouldn't push partial limit down when index plans are keep ordered (#52979) POST git-upload-pack (656 bytes) POST git-upload-pack (973 bytes) From https://github.com/pingcap/tidb = [up to date] master -> origin/master * [new ref] refs/pull/52663/head -> origin/pr/52663/head HEAD is now at 3ca57c1ff2 planner: fix index merge shouldn't push partial limit down when index plans are keep ordered (#52979) 🚧 Checkouting to base SHA:3ca57c1ff297b3ecabf6f7d509d86b0081d8e2b1... HEAD is now at 3ca57c1ff2 planner: fix index merge shouldn't push partial limit down when index plans are keep ordered (#52979) βœ… Checked. πŸŽ‰ 🧾 HEAD info: 3ca57c1ff297b3ecabf6f7d509d86b0081d8e2b1 3ca57c1ff2 planner: fix index merge shouldn't push partial limit down when index plans are keep ordered (#52979) 17d3f7fd45 planner: small refactor for plan cache (#53028) 659f32a813 infoschema: try other PDs if one cannot serve the request (#52843) 🚧 Pre-merge heads of pull requests to base SHA: 3ca57c1ff297b3ecabf6f7d509d86b0081d8e2b1 ... Merge made by the 'ort' strategy. pkg/executor/set_test.go | 4 ++-- pkg/sessionctx/variable/sysvar.go | 2 +- tests/realtikvtest/addindextest3/functional_test.go | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) 🧾 Pre-merged result: cceb96bab82f9ea86ce8589602d9cbb2a74395e6 cceb96bab8 Merge commit '764c03c5659efaf4dbc9b48d197d7ef1a765c4eb' into HEAD 3ca57c1ff2 planner: fix index merge shouldn't push partial limit down when index plans are keep ordered (#52979) 17d3f7fd45 planner: small refactor for plan cache (#53028) βœ… Pre merged πŸŽ‰ πŸ“ update submodules ... βœ… update submodules done βœ… ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // retry [Pipeline] } [Pipeline] // script [Pipeline] } Cache not saved (git/pingcap/tidb/rev-3ca57c1-764c03c already exists) [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/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 b540debd42..9264b96d48 100644 --- a/Makefile.common +++ b/Makefile.common @@ -127,7 +127,7 @@ TEST_COVERAGE_DIR := "test_coverage" ifneq ("$(CI)", "") BAZEL_GLOBAL_CONFIG := --output_user_root=/home/jenkins/.tidb/tmp - BAZEL_CMD_CONFIG := --config=ci --repository_cache=/home/jenkins/.tidb/tmp - BAZEL_SYNC_CONFIG := --repository_cache=/home/jenkins/.tidb/tmp + BAZEL_CMD_CONFIG := --config=ci --repository_cache=/share/.cache/bazel-repository-cache + BAZEL_SYNC_CONFIG := --repository_cache=/share/.cache/bazel-repository-cache endif BAZEL_INSTRUMENTATION_FILTER := --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/... + git status HEAD detached from origin/master 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/ghpr_unit_test/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@2eaa328 go: downloading github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c go: downloading github.com/sergi/go-diff v1.1.0 bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 932a7e32-35b2-4b09-9b70-06f77b7057e6 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_10_32_35.2930587886/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (44 packages loaded, 413 targets configured) Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured) Analyzing: target //:gazelle (100 packages loaded, 10464 targets configured) Analyzing: target //:gazelle (258 packages loaded, 11513 targets configured) INFO: Analyzed target //:gazelle (270 packages loaded, 11965 targets configured). INFO: Found 1 target... [0 / 287] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 4.0 MiB / 17.2 MiB; 0s remote-cache ... (3 actions, 0 running) [25 / 316] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.0 MiB / 10.3 MiB; 1s remote-cache ... (2 actions, 0 running) [66 / 316] GoCompilePkg external/in_gopkg_yaml_v3/yaml_v3.a [for tool]; 0s remote-cache ... (29 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 24.141s, Critical Path: 4.10s INFO: 316 processes: 296 remote cache hit, 20 internal. INFO: Build completed successfully, 316 total actions INFO: Running command line: bazel-bin/gazelle bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 684acccc-bdc5-403c-b929-8d02a85e4cba INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2024_05_06_10_32_35.2930587886/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=315385 --local_cpu_resources=70 --jobs=70 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (173 packages loaded, 13353 targets configured) INFO: Analyzed target //tools/tazel:tazel (320 packages loaded, 14292 targets configured). INFO: Found 1 target... [0 / 10] [Prepa] BazelWorkspaceStatusAction stable-status.txt [273 / 607] [Prepa] GoCompilePkg external/org_golang_x_exp/constraints/constraints.a [575 / 607] [Prepa] GoCompilePkg external/com_github_pingcap_kvproto/pkg/keyspacepb/keyspacepb.a ... (3 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 4.644s, Critical Path: 2.86s INFO: 339 processes: 336 remote cache hit, 3 internal. INFO: Build completed successfully, 339 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb && bazel-bin/tools/tazel/tazel_/tazel ' bazel --output_user_root=/home/jenkins/.tidb/tmp --nohome_rc coverage --config=ci --repository_cache=/share/.cache/bazel-repository-cache --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/... --jobs=35 --build_tests_only --test_keep_going=false \ --@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=deadlock,intest \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... INFO: Invocation ID: 99492e27-2448-4b1a-888b-ae76d579c7e7 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'build' options: --announce_rc --experimental_guard_against_concurrent_changes --experimental_remote_merkle_tree_cache --java_language_version=17 --java_runtime_version=17 --tool_java_language_version=17 --tool_java_runtime_version=17 --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'coverage' from /data/..2024_05_06_10_32_35.2930587886/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'coverage' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: Inherited 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 Loading: Loading: Loading: 0 packages loaded INFO: Build options --@io_bazel_rules_go//go/config:cover_format, --collect_code_coverage, --define, and 4 more have changed, discarding analysis cache. Analyzing: 411 targets (641 packages loaded, 0 targets configured) Analyzing: 411 targets (1226 packages loaded, 16447 targets configured) Analyzing: 411 targets (1585 packages loaded, 22024 targets configured) Analyzing: 411 targets (1702 packages loaded, 23878 targets configured) Analyzing: 411 targets (1909 packages loaded, 25352 targets configured) Analyzing: 411 targets (1917 packages loaded, 25541 targets configured) Analyzing: 411 targets (1920 packages loaded, 25680 targets configured) Analyzing: 411 targets (1981 packages loaded, 26649 targets configured) INFO: Analyzed 411 targets (1981 packages loaded, 26989 targets configured).  checking cached actions INFO: Found 411 test targets... [0 / 412] [Prepa] Writing file br/cmd/br/br_test/baseline_coverage.dat ... (16 actions, 0 running) [1,404 / 9,763] GoToolchainBinaryBuild external/go_sdk/builder [for tool]; Downloading external/go_sdk/builder, 4.0 MiB / 5.3 MiB; 0s remote-cache ... (35 actions, 0 running) [1,451 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.0 MiB / 17.2 MiB; 1s remote-cache ... (35 actions, 0 running) [1,457 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 7.0 MiB / 10.3 MiB; 3s remote-cache ... (35 actions, 0 running) [1,499 / 9,763] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 17.2 MiB; 4s remote-cache ... (35 actions, 0 running) [1,857 / 9,763] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 5.0 MiB / 5.7 MiB; 0s remote-cache ... (35 actions, 0 running) [2,242 / 9,763] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (35 actions, 0 running) [2,753 / 9,771] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; Downloading external/bazel_tools/tools/jdk/platformclasspath.jar, 5.0 MiB / 96.2 MiB; 0s remote-cache ... (35 actions, 0 running) [3,126 / 9,785] JavaToolchainCompileBootClasspath external/bazel_tools/tools/jdk/platformclasspath.jar [for tool]; 1s remote-cache ... (35 actions, 0 running) [3,386 / 9,824] 8 / 411 tests; GoLink pkg/planner/task/task_test_/task_test; Downloading pkg/planner/task/task_test_/task_test, 3.0 MiB / 3.8 MiB; 0s remote-cache ... (35 actions, 0 running) [3,610 / 9,872] 27 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 7.0 MiB / 69.8 MiB; 0s remote-cache ... (35 actions, 0 running) [3,820 / 9,895] 42 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 31.4 MiB / 69.8 MiB; 1s remote-cache ... (34 actions, 0 running) [3,998 / 9,941] 55 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 54.0 MiB / 69.8 MiB; 2s remote-cache ... (34 actions, 0 running) [4,213 / 9,955] 64 / 411 tests; GoLink pkg/parser/types/types_test_/types_test; 0s remote-cache ... (35 actions, 0 running) [4,469 / 9,987] 66 / 411 tests; GoLink pkg/lightning/metric/metric_test_/metric_test; Downloading pkg/lightning/metric/metric_test_/metric_test, 6.0 MiB / 8.0 MiB; 0s remote-cache ... (34 actions, 0 running) [4,655 / 10,003] 70 / 411 tests; GoCompilePkg pkg/parser/ast/parser.recompile51.a; Downloading pkg/parser/ast/parser.recompile51.a, 10.0 MiB / 11.4 MiB; 0s remote-cache ... (34 actions, 0 running) [4,830 / 10,056] 72 / 411 tests; GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 8.0 MiB / 11.0 MiB; 0s remote-cache ... (34 actions, 0 running) [4,980 / 10,109] 74 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 16.0 MiB / 75.3 MiB; 0s remote-cache ... (35 actions, 0 running) [5,109 / 10,109] 74 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 33.0 MiB / 75.3 MiB; 1s remote-cache ... (28 actions, 0 running) [5,185 / 10,109] 75 / 411 tests; GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 53.3 MiB / 75.3 MiB; 2s remote-cache ... (15 actions, 0 running) [5,250 / 10,109] 75 / 411 tests; GoLink pkg/tidb-binlog/node/node_test_/node_test; Downloading pkg/tidb-binlog/node/node_test_/node_test, 17.0 MiB / 21.6 MiB; 0s remote-cache ... (14 actions, 0 running) [5,299 / 10,131] 79 / 411 tests; GoLink pkg/util/resourcegrouptag/resourcegrouptag_test_/resourcegrouptag_test; Downloading pkg/util/resourcegrouptag/resourcegrouptag_test_/resourcegrouptag_test, 22.0 MiB / 23.1 MiB; 0s remote-cache ... (6 actions, 0 running) [5,425 / 10,135] 82 / 411 tests; GoCompilePkg pkg/config/config_test_test.external.a; Downloading pkg/config/config_test_test.external.x; 0s remote-cache ... (22 actions, 0 running) [5,494 / 10,147] 83 / 411 tests; GoLink pkg/util/systimemon/systimemon_test_/systimemon_test; Downloading pkg/util/systimemon/systimemon_test_/systimemon_test, 18.0 MiB / 23.2 MiB; 1s remote-cache ... (35 actions, 0 running) [5,543 / 10,205] 86 / 411 tests; GoLink pkg/util/memory/memory_test_/memory_test; Downloading pkg/util/memory/memory_test_/memory_test, 24.0 MiB / 25.4 MiB; 2s remote-cache ... (35 actions, 0 running) [5,580 / 10,242] 88 / 411 tests; GoLink pkg/util/kvcache/kvcache_test_/kvcache_test; Downloading pkg/util/kvcache/kvcache_test_/kvcache_test, 23.0 MiB / 25.4 MiB; 2s remote-cache ... (34 actions, 0 running) [5,625 / 10,258] 94 / 411 tests; GoLink pkg/util/timeutil/timeutil_test_/timeutil_test; Downloading pkg/util/timeutil/timeutil_test_/timeutil_test, 21.0 MiB / 27.9 MiB; 2s remote-cache ... (35 actions, 0 running) [5,668 / 10,260] 97 / 411 tests; GoLink pkg/util/cteutil/cteutil_test_/cteutil_test; Downloading pkg/util/cteutil/cteutil_test_/cteutil_test, 28.0 MiB / 28.8 MiB; 3s remote-cache ... (35 actions, 0 running) [5,721 / 10,280] 99 / 411 tests; GoLink pkg/util/parser/parser_test_/parser_test; 4s remote-cache ... (35 actions, 0 running) [5,759 / 10,284] 103 / 411 tests; GoLink pkg/util/cpu/cpu_test_/cpu_test; Downloading pkg/util/cpu/cpu_test_/cpu_test, 28.0 MiB / 33.7 MiB; 3s remote-cache ... (35 actions, 0 running) [5,799 / 10,287] 108 / 411 tests; GoLink pkg/util/plancodec/plancodec_test_/plancodec_test; 3s remote-cache ... (35 actions, 0 running) [5,848 / 10,289] 109 / 411 tests; GoLink pkg/kv/kv_test_/kv_test; Downloading pkg/kv/kv_test_/kv_test, 31.0 MiB / 31.1 MiB; 4s remote-cache ... (35 actions, 0 running) [5,912 / 10,338] 111 / 411 tests; GoLink br/pkg/logutil/logutil_test_/logutil_test; Downloading br/pkg/logutil/logutil_test_/logutil_test, 29.0 MiB / 30.4 MiB; 3s remote-cache ... (35 actions, 0 running) [5,988 / 10,350] 113 / 411 tests; GoLink pkg/util/rowcodec/rowcodec_test_/rowcodec_test; Downloading pkg/util/rowcodec/rowcodec_test_/rowcodec_test, 29.0 MiB / 31.2 MiB; 2s remote-cache ... (35 actions, 0 running) [6,045 / 10,352] 115 / 411 tests; GoLink pkg/util/chunk/chunk_test_/chunk_test; Downloading pkg/util/chunk/chunk_test_/chunk_test, 38.0 MiB / 40.5 MiB; 3s remote-cache ... (35 actions, 0 running) [6,092 / 10,427] 115 / 411 tests; GoCompilePkg pkg/metrics/expression.recompile578.a; 2s remote-cache ... (35 actions, 0 running) [6,143 / 10,439] 116 / 411 tests; GoLink pkg/util/cpuprofile/cpuprofile_test_/cpuprofile_test; Downloading pkg/util/cpuprofile/cpuprofile_test_/cpuprofile_test, 21.0 MiB / 30.5 MiB; 2s remote-cache ... (35 actions, 0 running) [6,190 / 10,441] 121 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 32.0 MiB / 78.6 MiB; 3s remote-cache ... (35 actions, 0 running) [6,230 / 10,480] 124 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 42.0 MiB / 78.6 MiB; 4s remote-cache ... (35 actions, 0 running) [6,271 / 10,482] 126 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 52.0 MiB / 78.6 MiB; 5s remote-cache ... (35 actions, 0 running) [6,324 / 10,516] 127 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 63.0 MiB / 78.6 MiB; 6s remote-cache ... (35 actions, 0 running) [6,359 / 10,516] 127 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; Downloading pkg/sessionctx/variable/expression.recompile1100.a, 71.5 MiB / 78.6 MiB; 7s remote-cache ... (35 actions, 0 running) [6,393 / 10,518] 127 / 411 tests; GoCompilePkg pkg/sessionctx/variable/expression.recompile1100.a; 8s remote-cache ... (35 actions, 0 running) [6,428 / 10,525] 128 / 411 tests; GoCompilePkg pkg/meta/expression.recompile557.a; Downloading pkg/meta/expression.recompile557.a, 69.0 MiB / 78.6 MiB; 7s remote-cache ... (35 actions, 0 running) [6,478 / 10,527] 129 / 411 tests; GoCompilePkg pkg/meta/expression.recompile557.a; 8s remote-cache ... (35 actions, 0 running) [6,532 / 10,539] 130 / 411 tests; GoCompilePkg pkg/extension/expression.recompile1163.a; Downloading pkg/extension/expression.recompile1163.a, 40.0 MiB / 78.6 MiB; 4s remote-cache ... (35 actions, 0 running) [6,583 / 10,539] 133 / 411 tests; GoCompilePkg pkg/extension/expression.recompile1163.a; Downloading pkg/extension/expression.recompile1163.a, 50.0 MiB / 78.6 MiB; 5s remote-cache ... (35 actions, 0 running) [6,640 / 10,539] 136 / 411 tests; GoCompilePkg pkg/extension/expression.recompile1163.a; Downloading pkg/extension/expression.recompile1163.a, 63.0 MiB / 78.6 MiB; 6s remote-cache ... (35 actions, 0 running) [6,686 / 10,539] 137 / 411 tests; GoCompilePkg pkg/extension/expression.recompile1163.a; Downloading pkg/extension/expression.recompile1163.a, 74.0 MiB / 78.6 MiB; 7s remote-cache ... (35 actions, 0 running) [6,727 / 10,590] 137 / 411 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 67.0 MiB / 78.6 MiB; 6s remote-cache ... (35 actions, 0 running) [6,773 / 10,623] 138 / 411 tests; GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 78.0 MiB / 78.6 MiB; 7s remote-cache ... (35 actions, 0 running) [6,826 / 10,635] 138 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/expression.recompile1158.a; Downloading pkg/sessionctx/sessionstates/expression.recompile1158.a, 74.0 MiB / 78.6 MiB; 7s remote-cache ... (35 actions, 0 running) [6,879 / 10,674] 141 / 411 tests; GoLink pkg/metrics/metrics_test_/metrics_test; Downloading pkg/metrics/metrics_test_/metrics_test, 54.0 MiB / 54.8 MiB; 5s remote-cache ... (35 actions, 0 running) [6,937 / 10,686] 142 / 411 tests; GoLink pkg/ttl/client/client_test_/client_test; Downloading pkg/ttl/client/client_test_/client_test, 22.0 MiB / 49.7 MiB; 2s remote-cache ... (35 actions, 0 running) [6,990 / 10,693] 142 / 411 tests; GoLink pkg/ttl/client/client_test_/client_test; Downloading pkg/ttl/client/client_test_/client_test, 33.0 MiB / 49.7 MiB; 3s remote-cache ... (35 actions, 0 running) [7,036 / 10,693] 145 / 411 tests; GoLink pkg/ttl/client/client_test_/client_test; Downloading pkg/ttl/client/client_test_/client_test, 44.0 MiB / 49.7 MiB; 4s remote-cache ... (35 actions, 0 running) [7,081 / 10,700] 146 / 411 tests; GoLink pkg/meta/meta_test_/meta_test; Downloading pkg/meta/meta_test_/meta_test, 41.0 MiB / 61.2 MiB; 4s remote-cache ... (35 actions, 0 running) [7,122 / 10,702] 150 / 411 tests; GoLink pkg/meta/meta_test_/meta_test; Downloading pkg/meta/meta_test_/meta_test, 50.0 MiB / 61.2 MiB; 5s remote-cache ... (35 actions, 0 running) [7,168 / 10,702] 154 / 411 tests; GoLink pkg/meta/meta_test_/meta_test; Downloading pkg/meta/meta_test_/meta_test, 59.0 MiB / 61.2 MiB; 6s remote-cache ... (35 actions, 0 running) [7,224 / 10,715] 155 / 411 tests; GoLink pkg/executor/internal/vecgroupchecker/vecgroupchecker_test_/vecgroupchecker_test; 5s remote-cache ... (35 actions, 0 running) [7,270 / 10,721] 155 / 411 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 28.0 MiB / 55.8 MiB; 3s remote-cache ... (35 actions, 0 running) [7,313 / 10,721] 157 / 411 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 37.0 MiB / 55.8 MiB; 4s remote-cache ... (35 actions, 0 running) [7,349 / 10,721] 158 / 411 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 46.0 MiB / 55.8 MiB; 5s remote-cache ... (35 actions, 0 running) [7,386 / 10,723] 159 / 411 tests; GoLink pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test; Downloading pkg/util/memoryusagealarm/memoryusagealarm_test_/memoryusagealarm_test, 55.0 MiB / 55.8 MiB; 6s remote-cache ... (35 actions, 0 running) [7,425 / 10,729] 160 / 411 tests; GoLink pkg/sessionctx/sessionctx_test_/sessionctx_test; Downloading pkg/sessionctx/sessionctx_test_/sessionctx_test, 26.0 MiB / 55.8 MiB; 3s remote-cache ... (35 actions, 0 running) [7,474 / 10,758] 161 / 411 tests; GoLink pkg/sessionctx/sessionctx_test_/sessionctx_test; Downloading pkg/sessionctx/sessionctx_test_/sessionctx_test, 36.0 MiB / 55.8 MiB; 4s remote-cache ... (35 actions, 0 running) [7,507 / 10,758] 162 / 411 tests; GoLink pkg/sessionctx/sessionctx_test_/sessionctx_test; Downloading pkg/sessionctx/sessionctx_test_/sessionctx_test, 46.0 MiB / 55.8 MiB; 5s remote-cache ... (35 actions, 0 running) [7,548 / 10,786] 162 / 411 tests; GoLink pkg/sessionctx/sessionctx_test_/sessionctx_test; 6s remote-cache ... (35 actions, 0 running) [7,584 / 10,808] 162 / 411 tests; GoLink pkg/ddl/placement/placement_test_/placement_test; Downloading pkg/ddl/placement/placement_test_/placement_test, 64.0 MiB / 79.7 MiB; 7s remote-cache ... (35 actions, 0 running) [7,620 / 10,813] 163 / 411 tests; GoLink pkg/ddl/placement/placement_test_/placement_test; Downloading pkg/ddl/placement/placement_test_/placement_test, 72.0 MiB / 79.7 MiB; 8s remote-cache ... (35 actions, 0 running) [7,654 / 10,813] 165 / 411 tests; GoLink pkg/ddl/placement/placement_test_/placement_test; 9s remote-cache ... (35 actions, 0 running) [7,697 / 10,854] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 63.0 MiB / 151.3 MiB; 7s remote-cache ... (34 actions, 0 running) [7,732 / 10,882] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 71.0 MiB / 151.3 MiB; 8s remote-cache ... (35 actions, 0 running) [7,771 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 80.0 MiB / 151.3 MiB; 9s remote-cache ... (35 actions, 0 running) [7,808 / 10,888] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 89.0 MiB / 151.3 MiB; 10s remote-cache ... (35 actions, 0 running) [7,843 / 10,899] 165 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 98.0 MiB / 151.3 MiB; 11s remote-cache ... (35 actions, 0 running) [7,878 / 10,906] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 106.0 MiB / 151.3 MiB; 12s remote-cache ... (35 actions, 0 running) [7,909 / 10,906] 166 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 116.0 MiB / 151.3 MiB; 13s remote-cache ... (35 actions, 0 running) [7,946 / 10,906] 170 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 125.0 MiB / 151.3 MiB; 14s remote-cache ... (35 actions, 0 running) [7,979 / 10,936] 170 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 135.0 MiB / 151.3 MiB; 15s remote-cache ... (36 actions, 2 running) [8,011 / 10,940] 172 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 143.0 MiB / 151.3 MiB; 16s remote-cache ... (37 actions, 4 running) [8,041 / 10,940] 173 / 411 tests; GoCompilePkg pkg/expression/expression_test.internal.recompileinternal.a; Downloading pkg/expression/expression_test.internal.recompileinternal.a, 151.0 MiB / 151.3 MiB; 17s remote-cache ... (37 actions, 4 running) [8,066 / 10,940] 175 / 411 tests; GoLink pkg/table/table_test_/table_test; Downloading pkg/table/table_test_/table_test, 62.0 MiB / 67.5 MiB; 8s remote-cache ... (38 actions, 6 running) [8,107 / 10,950] 176 / 411 tests; GoLink pkg/infoschema/internal/internal_test_/internal_test; 7s remote-cache ... (38 actions, 6 running) [8,144 / 10,952] 176 / 411 tests; GoLink pkg/meta/autoid/autoid_test_/autoid_test; Downloading pkg/meta/autoid/autoid_test_/autoid_test, 44.0 MiB / 61.3 MiB; 6s remote-cache ... (38 actions, 6 running) [8,189 / 10,952] 177 / 411 tests; GoLink pkg/meta/autoid/autoid_test_/autoid_test; Downloading pkg/meta/autoid/autoid_test_/autoid_test, 55.0 MiB / 61.3 MiB; 7s remote-cache ... (39 actions, 8 running) [8,227 / 10,963] 177 / 411 tests; GoCompilePkg pkg/structure/core.recompile1241.a; 7s remote-cache, linux-sandbox ... (39 actions, 8 running) [8,268 / 10,965] 177 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 7s remote-cache, linux-sandbox ... (40 actions, 10 running) [8,308 / 10,965] 177 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 8s remote-cache, linux-sandbox ... (40 actions, 10 running) [8,341 / 10,965] 180 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/core.recompile1241.a; 9s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,372 / 10,965] 180 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1266.a; 8s remote-cache, linux-sandbox ... (39 actions, 8 running) [8,408 / 10,965] 181 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1266.a; 9s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,469 / 11,016] 181 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/core.recompile1266.a; 10s remote-cache, linux-sandbox ... (42 actions, 14 running) [8,516 / 11,016] 181 / 411 tests; GoCompilePkg pkg/extension/core.recompile1271.a; 8s remote-cache, linux-sandbox ... (40 actions, 10 running) [8,549 / 11,044] 181 / 411 tests; GoCompilePkg pkg/statistics/core.recompile1246.a; 8s remote-cache, linux-sandbox ... (42 actions, 15 running) [8,573 / 11,093] 182 / 411 tests; GoCompilePkg pkg/statistics/core.recompile1246.a; 9s remote-cache, linux-sandbox ... (42 actions, 14 running) [8,601 / 11,110] 183 / 411 tests; GoLink br/pkg/version/version_test_/version_test; Downloading br/pkg/version/version_test_/version_test, 52.0 MiB / 56.7 MiB; 5s remote-cache ... (45 actions, 20 running) [8,634 / 11,135] 183 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 5s remote-cache, linux-sandbox ... (44 actions, 19 running) [8,658 / 11,135] 183 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 6s remote-cache, linux-sandbox ... (47 actions, 24 running) [8,687 / 11,135] 183 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 7s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,723 / 11,141] 183 / 411 tests; GoCompilePkg pkg/table/tables/core.recompile1245.a; 8s remote-cache, linux-sandbox ... (43 actions, 16 running) [8,752 / 11,141] 184 / 411 tests; GoLink pkg/statistics/handle/cache/internal/lfu/lfu_test_/lfu_test; 9s remote-cache ... (42 actions, 14 running) [8,777 / 11,151] 184 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 6s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,802 / 11,151] 185 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 7s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,822 / 11,151] 185 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 8s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,848 / 11,155] 185 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 9s remote-cache, linux-sandbox ... (41 actions, 12 running) [8,867 / 11,155] 185 / 411 tests; GoCompilePkg pkg/store/mockstore/mockcopr/core.recompile1245.a; 10s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,892 / 11,155] 185 / 411 tests; GoLink pkg/lightning/mydump/mydump_test_/mydump_test; Downloading pkg/lightning/mydump/mydump_test_/mydump_test, 66.0 MiB / 79.3 MiB; 9s remote-cache ... (43 actions, 18 running) [8,908 / 11,163] 186 / 411 tests; GoLink pkg/lightning/mydump/mydump_test_/mydump_test; Downloading pkg/lightning/mydump/mydump_test_/mydump_test, 72.0 MiB / 79.3 MiB; 10s remote-cache ... (46 actions, 22 running) [8,929 / 11,163] 186 / 411 tests; GoLink pkg/lightning/mydump/mydump_test_/mydump_test; 11s remote-cache ... (45 actions, 20 running) [8,957 / 11,216] 187 / 411 tests; GoCompilePkg pkg/structure/executor.recompile1254.a; 11s remote-cache, linux-sandbox ... (46 actions, 22 running) [8,972 / 11,216] 189 / 411 tests; GoCompilePkg pkg/sessionctx/sessionstates/executor.recompile1280.a; 8s remote-cache, linux-sandbox ... (44 actions, 18 running) [8,997 / 11,216] 189 / 411 tests; GoCompilePkg pkg/infoschema/core.recompile1265.a; 7s remote-cache, linux-sandbox ... (43 actions, 17 running) [9,019 / 11,216] 190 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/executor.recompile1254.a; 7s remote-cache, linux-sandbox ... (45 actions, 20 running) [9,038 / 11,221] 191 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/executor.recompile1254.a; 8s remote-cache, linux-sandbox ... (45 actions, 20 running) [9,063 / 11,221] 193 / 411 tests; GoCompilePkg pkg/sessionctx/stmtctx/executor.recompile1254.a; 9s remote-cache, linux-sandbox ... (45 actions, 22 running) [9,090 / 11,240] 193 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 6s remote-cache, linux-sandbox ... (44 actions, 18 running) [9,107 / 11,240] 195 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 7s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,124 / 11,240] 195 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 9s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,153 / 11,242] 195 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 10s remote-cache, linux-sandbox ... (51 actions, 32 running) [9,176 / 11,242] 196 / 411 tests; GoCompilePkg pkg/sessionctx/binloginfo/core.recompile1243.a; 11s remote-cache, linux-sandbox ... (48 actions, 26 running) [9,200 / 11,242] 197 / 411 tests; GoLink pkg/planner/util/util_test_/util_test; 9s remote-cache, linux-sandbox ... (49 actions, 28 running) [9,213 / 11,244] 197 / 411 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 77.0 MiB / 107.0 MiB; 9s remote-cache ... (50 actions, 31 running) [9,234 / 11,244] 197 / 411 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 86.0 MiB / 107.0 MiB; 10s remote-cache ... (50 actions, 30 running) [9,257 / 11,300] 198 / 411 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 95.0 MiB / 107.0 MiB; 11s remote-cache ... (46 actions, 22 running) [9,278 / 11,316] 199 / 411 tests; GoLink br/pkg/checkpoint/checkpoint_test_/checkpoint_test; Downloading br/pkg/checkpoint/checkpoint_test_/checkpoint_test, 106.0 MiB / 107.0 MiB; 12s remote-cache ... (48 actions, 26 running) [9,299 / 11,322] 199 / 411 tests; GoLink br/pkg/restore/prealloc_table_id/prealloc_table_id_test_/prealloc_table_id_test; 12s remote-cache ... (48 actions, 26 running) [9,321 / 11,324] 200 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 8s remote-cache, linux-sandbox ... (49 actions, 28 running) [9,342 / 11,324] 200 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 9s remote-cache, linux-sandbox ... (46 actions, 23 running) [9,363 / 11,324] 201 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 10s remote-cache, linux-sandbox ... (47 actions, 24 running) [9,382 / 11,324] 201 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 11s remote-cache, linux-sandbox ... (47 actions, 24 running) [9,397 / 11,324] 202 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 12s remote-cache, linux-sandbox ... (49 actions, 28 running) [9,413 / 11,324] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 13s remote-cache, linux-sandbox ... (51 actions, 32 running) [9,429 / 11,324] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 14s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,450 / 11,334] 203 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 15s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,464 / 11,334] 204 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 16s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,488 / 11,358] 204 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 17s remote-cache, linux-sandbox ... (50 actions, 30 running) [9,514 / 11,360] 204 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 18s remote-cache, linux-sandbox ... (48 actions, 26 running) [9,532 / 11,365] 205 / 411 tests; GoCompilePkg pkg/expression/core.recompile1246.a; 19s remote-cache, linux-sandbox ... (51 actions, 33 running) [9,549 / 11,365] 206 / 411 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 11s remote-cache, linux-sandbox ... (54 actions, 38 running) [9,570 / 11,365] 206 / 411 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 12s remote-cache, linux-sandbox ... (54 actions, 38 running) [9,604 / 11,365] 207 / 411 tests; GoLink pkg/sessionctx/sessionstates/sessionstates_test_/sessionstates_test; 13s remote-cache, linux-sandbox ... (48 actions, 28 running) [9,627 / 11,399] 207 / 411 tests; GoLink pkg/sessionctx/stmtctx/stmtctx_test_/stmtctx_test; 14s remote-cache, linux-sandbox ... (53 actions, 36 running) [9,649 / 11,412] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 12s remote-cache, linux-sandbox ... (53 actions, 36 running) [9,660 / 11,412] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 13s remote-cache, linux-sandbox ... (54 actions, 38 running) [9,688 / 11,412] 207 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 14s remote-cache, linux-sandbox ... (55 actions, 41 running) [9,706 / 11,412] 208 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 15s remote-cache, linux-sandbox ... (57 actions, 44 running) [9,723 / 11,412] 208 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 16s remote-cache, linux-sandbox ... (58 actions, 46 running) [9,740 / 11,412] 208 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 17s remote-cache, linux-sandbox ... (60 actions, 50 running) [9,769 / 11,412] 208 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 18s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,788 / 11,463] 208 / 411 tests; GoCompilePkg pkg/lightning/backend/kv/core.recompile1114.a; 19s remote-cache, linux-sandbox ... (58 actions, 46 running) [9,816 / 11,463] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 13s remote-cache, linux-sandbox ... (58 actions, 46 running) [9,829 / 11,501] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 14s remote-cache, linux-sandbox ... (57 actions, 45 running) [9,856 / 11,501] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 15s remote-cache, linux-sandbox ... (58 actions, 46 running) [9,874 / 11,501] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 17s remote-cache, linux-sandbox ... (60 actions, 50 running) [9,887 / 11,501] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 18s remote-cache, linux-sandbox ... (62 actions, 54 running) [9,908 / 11,501] 209 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 19s remote-cache, linux-sandbox ... (59 actions, 48 running) [9,925 / 11,501] 210 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/core.recompile1245.a; 20s remote-cache, linux-sandbox ... (56 actions, 44 running) [9,954 / 11,545] 210 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 16s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,974 / 11,545] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 17s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,980 / 11,545] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 18s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,980 / 11,545] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 19s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,981 / 11,545] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 21s remote-cache, linux-sandbox ... (61 actions, 52 running) [9,996 / 11,545] 211 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/core.recompile1243.a; 22s remote-cache, linux-sandbox ... (61 actions, 52 running) [10,014 / 11,586] 211 / 411 tests; GoCompilePkg pkg/ddl/ingest/core.recompile1246.a; 21s remote-cache, linux-sandbox ... (61 actions, 53 running) [10,034 / 11,586] 211 / 411 tests; GoCompilePkg pkg/planner/core/core.a; 21s remote-cache, linux-sandbox ... (60 actions, 51 running) [10,056 / 11,588] 211 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 15s remote-cache, linux-sandbox ... (59 actions, 48 running) [10,066 / 11,590] 211 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 16s remote-cache, linux-sandbox ... (62 actions, 54 running) [10,086 / 11,602] 211 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 17s remote-cache, linux-sandbox ... (62 actions, 54 running) [10,114 / 11,602] 212 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 18s remote-cache, linux-sandbox ... (59 actions, 49 running) [10,127 / 11,606] 213 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 19s remote-cache, linux-sandbox ... (62 actions, 55 running) [10,150 / 11,636] 214 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 20s remote-cache, linux-sandbox ... (65 actions, 62 running) [10,164 / 11,636] 215 / 411 tests; GoCompilePkg pkg/bindinfo/core.recompile1271.a; 22s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,181 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 17s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,198 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 18s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,215 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,219 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 20s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,224 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,228 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 22s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,241 / 11,636] 215 / 411 tests; GoCompilePkg pkg/expression/executor.recompile1259.a; 23s remote-cache, linux-sandbox ... (62 actions, 60 running) [10,277 / 11,687] 216 / 411 tests; GoLink pkg/statistics/handle/usage/usage_test_/usage_test; 10s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,286 / 11,689] 216 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 11s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,300 / 11,689] 216 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 12s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,304 / 11,689] 216 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 13s remote-cache, linux-sandbox ... (66 actions, 63 running) [10,321 / 11,689] 217 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 14s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,337 / 11,689] 218 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,346 / 11,689] 218 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,364 / 11,689] 218 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,378 / 11,689] 218 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 18s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,390 / 11,689] 218 / 411 tests; Testing //pkg/sessionctx/sessionstates:sessionstates_test (shard 14 of 17); 19s remote-cache, linux-sandbox ... (62 actions, 54 running) [10,410 / 11,689] 219 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 18s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,432 / 11,689] 219 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,441 / 11,716] 219 / 411 tests; GoCompilePkg pkg/disttask/framework/storage/executor.recompile1258.a; 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,471 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 12s remote-cache, linux-sandbox ... (70 actions running) [10,471 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 13s remote-cache, linux-sandbox ... (70 actions running) [10,475 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 14s remote-cache, linux-sandbox ... (70 actions running) [10,495 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 15s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,502 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,504 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 17s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,515 / 11,716] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 18s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,523 / 11,767] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,534 / 11,767] 219 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 20s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,550 / 11,767] 220 / 411 tests; GoCompilePkg pkg/ttl/ttlworker/executor.recompile1254.a; 21s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,571 / 11,767] 220 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 19s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,583 / 11,767] 220 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 20s remote-cache, linux-sandbox ... (64 actions, 59 running) [10,596 / 11,767] 220 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 22s remote-cache, linux-sandbox ... (70 actions running) [10,597 / 11,767] 220 / 411 tests; GoCompilePkg pkg/ddl/ingest/executor.recompile1257.a; 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,619 / 11,767] 220 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 15s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,639 / 11,767] 220 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 16s remote-cache, linux-sandbox ... (69 actions, 68 running) [10,660 / 11,818] 220 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 17s remote-cache, linux-sandbox ... (68 actions, 67 running) [10,672 / 11,818] 220 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 19s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,684 / 11,822] 220 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 20s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,697 / 11,822] 222 / 411 tests; GoCompilePkg br/pkg/backup/executor.recompile1286.a; 21s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,709 / 11,828] 222 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 19s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,726 / 11,834] 222 / 411 tests; GoCompilePkg pkg/bindinfo/executor.recompile1285.a; 20s remote-cache, linux-sandbox ... (65 actions, 60 running) [10,742 / 11,834] 223 / 411 tests; GoCompilePkg pkg/executor/executor.a; 16s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,758 / 11,836] 224 / 411 tests; GoCompilePkg pkg/executor/executor.a; 17s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,766 / 11,836] 225 / 411 tests; GoCompilePkg pkg/executor/executor.a; 18s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,779 / 11,836] 225 / 411 tests; GoCompilePkg pkg/executor/executor.a; 19s remote-cache, linux-sandbox ... (65 actions, 60 running) [10,787 / 11,880] 225 / 411 tests; GoCompilePkg pkg/executor/executor.a; 20s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,805 / 11,882] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 13s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,822 / 11,882] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 14s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,831 / 11,905] 226 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 15s remote-cache, linux-sandbox ... (65 actions, 60 running) [10,842 / 11,917] 227 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 16s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,855 / 11,917] 228 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 17s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,867 / 11,917] 229 / 411 tests; Testing //pkg/expression:expression_test (shard 50 of 50); 18s remote-cache, linux-sandbox ... (63 actions, 57 running) [10,878 / 11,968] 230 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 11s remote-cache, linux-sandbox ... (66 actions, 62 running) [10,886 / 11,968] 230 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 12s remote-cache, linux-sandbox ... (65 actions, 61 running) [10,894 / 11,987] 230 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 13s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,923 / 11,991] 233 / 411 tests; GoLink pkg/ttl/ttlworker/ttlworker_test_/ttlworker_test; 14s remote-cache, linux-sandbox ... (64 actions, 58 running) [10,939 / 12,083] 234 / 411 tests; Testing //br/pkg/storage:storage_test (shard 5 of 50); 7s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,943 / 12,083] 235 / 411 tests; Testing //br/pkg/storage:storage_test (shard 5 of 50); 8s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,954 / 12,085] 235 / 411 tests; Testing //br/pkg/storage:storage_test (shard 5 of 50); 9s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,963 / 12,097] 235 / 411 tests; Testing //br/pkg/storage:storage_test (shard 5 of 50); 10s remote-cache, linux-sandbox ... (67 actions, 64 running) [10,978 / 12,097] 236 / 411 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1256.a; 10s remote-cache, linux-sandbox ... (68 actions, 66 running) [10,991 / 12,097] 237 / 411 tests; GoCompilePkg pkg/planner/funcdep/executor.recompile1256.a; 11s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,009 / 12,097] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 11s remote-cache, linux-sandbox ... (67 actions, 65 running) [11,020 / 12,097] 237 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 12s remote-cache, linux-sandbox ... (66 actions, 63 running) [11,042 / 12,099] 238 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 13s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,047 / 12,099] 238 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 14s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,060 / 12,117] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 15s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,066 / 12,152] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 16s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,089 / 12,156] 239 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 17s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,102 / 12,162] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 18s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,107 / 12,162] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 19s remote-cache, linux-sandbox ... (67 actions, 65 running) [11,114 / 12,162] 240 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 21s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,131 / 12,175] 241 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 22s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,143 / 12,175] 241 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 23s remote-cache, linux-sandbox ... (67 actions, 64 running) [11,150 / 12,175] 242 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 24s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,163 / 12,190] 242 / 411 tests; Testing //pkg/expression:expression_test (shard 49 of 50); 25s remote-cache, linux-sandbox ... (68 actions, 66 running) [11,182 / 12,190] 243 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 23s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,185 / 12,190] 243 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 24s remote-cache, linux-sandbox ... (70 actions running) [11,202 / 12,190] 243 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,211 / 12,190] 243 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,229 / 12,190] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,239 / 12,252] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,251 / 12,252] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,264 / 12,252] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22); 31s remote-cache, linux-sandbox ... (70 actions running) FAIL: //pkg/disttask/framework/storage:storage_test (shard 21 of 22) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_21_of_22/test_attempts/attempt_1.log) [11,264 / 12,252] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 21s remote-cache, linux-sandbox ... (70 actions running) [11,265 / 12,252] 244 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 23s remote-cache, linux-sandbox ... (70 actions running) [11,290 / 12,254] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 24s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,300 / 12,254] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,309 / 12,254] 245 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,314 / 12,254] 246 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 28s remote-cache, linux-sandbox ... (70 actions running) [11,315 / 12,263] 246 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,319 / 12,263] 246 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 1 of 22); 31s remote-cache, linux-sandbox ... (70 actions running) [11,330 / 12,263] 246 / 411 tests; Testing //pkg/disttask/framework/storage:storage_test (shard 2 of 22); 32s remote-cache, linux-sandbox ... (70 actions running) [11,343 / 12,263] 250 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 16s remote-cache, linux-sandbox ... (66 actions, 62 running) [11,348 / 12,263] 250 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 17s remote-cache, linux-sandbox ... (70 actions running) [11,357 / 12,263] 250 / 411 tests; GoCompilePkg pkg/executor/aggfuncs/executor.recompile1256.a; 19s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,365 / 12,263] 250 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 19s remote-cache, linux-sandbox ... (70 actions running) [11,365 / 12,263] 250 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 20s remote-cache, linux-sandbox ... (70 actions running) [11,373 / 12,289] 250 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,380 / 12,289] 251 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 23s remote-cache, linux-sandbox ... (68 actions running) [11,387 / 12,291] 251 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 24s remote-cache, linux-sandbox ... (70 actions running) [11,392 / 12,291] 253 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,399 / 12,371] 253 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 27s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,405 / 12,371] 253 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 28s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,414 / 12,371] 254 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,415 / 12,371] 254 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 50 of 50); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,422 / 12,371] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,432 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,438 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 32s remote-cache, linux-sandbox ... (70 actions running) [11,451 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 33s remote-cache, linux-sandbox ... (70 actions running) [11,452 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,457 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) INFO: From Testing //pkg/disttask/framework/storage:storage_test (shard 21 of 22): ==================== Test output for //pkg/disttask/framework/storage:storage_test (shard 21 of 22): === RUN TestTaskState [2024/05/06 10:38:13.299 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:38:13.304 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:13.304 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:13.327 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:13.327 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:13.334 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:13.360 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=688ced65-70fd-4c97-90e6-abc2236c3157] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:38:13.827 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:38:13.827 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:38:13.829 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:72\ngithub.com/pingcap/tidb/pkg/disttask/framework/testutil.getResourcePool\n\tpkg/disttask/framework/testutil/table_util.go:56\ngithub.com/pingcap/tidb/pkg/disttask/framework/testutil.InitTableTest\n\tpkg/disttask/framework/testutil/table_util.go:39\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage_test.TestTaskState\n\tpkg/disttask/framework/storage/task_state_test.go:30\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:38:13.869 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=39.254782ms] [2024/05/06 10:38:13.875 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:38:13.875 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=65db3135-8a33-4ddd-a950-5edc8c228c17] [runWorker=true] [2024/05/06 10:38:13.876 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:38:13.876 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:38:13.876 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:38:13.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:38:13.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:38:13.877 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:38:13.877 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:38:13.878 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:38:13.878 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:38:13.882 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:38:13.883 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:38:13.883 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:38:13.890 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:38:13.929 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:13.929 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:38:14.065 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:14.146 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=47.019317ms] [2024/05/06 10:38:14.152 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:38:14.167 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:14.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:38:14.169 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=70.356637ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:14.239 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:13.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:14.270 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:38:14.270 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:14.272 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.382329483\n# Parse_time: 0\n# Compile_time: 0.000945204\n# Rewrite_time: 0.000039564\n# Optimize_time: 0\n# Wait_TS: 0.0001566\n# DB: mysql\n# Is_internal: true\n# Digest: 0a22979ad136f741465cf206b13e5717b9758dda34f7cae5a7a925f91711d6a0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse mysql;\n;"] [2024/05/06 10:38:14.273 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:38:14.352 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:38:14.663 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:14.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:14.663 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:14.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:38:14.779 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:14.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:14.893 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:38:15.433 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=11.279535ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:15.452 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:15.452 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:38:15.453 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=32.201463ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:14.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:15.583 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:14.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:15.884 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 10:38:15.976 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:38:15.976 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:15.978 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.663695847\n# Parse_time: 0\n# Compile_time: 0.037859864\n# Rewrite_time: 0.000026092\n# Optimize_time: 0\n# Wait_TS: 0.000180458\n# DB: mysql\n# Is_internal: true\n# Digest: 1dcdddcae0fb6a3fa29440fed26e29fecfb2c265d457dd4657cef0ce99abd274\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:15.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:38:16.054 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:16.054 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:38:16.146 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.254 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=1.727308ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:16.266 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:16.267 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:38:16.268 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=16.097129ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.380 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.001 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.435 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:38:16.435 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:16.437 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.454103451\n# Parse_time: 0\n# Compile_time: 0.003249833\n# Rewrite_time: 0.000017323\n# Optimize_time: 0\n# Wait_TS: 0.00017797\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:16.440 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:38:16.490 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:16.490 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:38:16.571 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=50.351109ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:16.735 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:16.735 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:38:16.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=100.340701ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.825 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:16.874 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:38:16.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:16.876 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.437138239\n# Parse_time: 0\n# Compile_time: 0.001588712\n# Rewrite_time: 0.000010651\n# Optimize_time: 0\n# Wait_TS: 0.000136109\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"BLOB/TEXT/JSON column 'Priv' can't have a default value\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:16.902 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:38:17.041 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:17.041 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:38:17.139 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:17.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=4.822412ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:17.524 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:17.524 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:38:17.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=22.94359ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:16.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:17.653 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:16.918 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:17.871 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:38:17.871 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:17.874 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.979910793\n# Parse_time: 0\n# Compile_time: 0.00842254\n# Rewrite_time: 0.000015459\n# Optimize_time: 0\n# Wait_TS: 0.000137046\n# DB: mysql\n# Is_internal: true\n# Digest: e02ee30435ff06e52f357a0a68828973f373118f7009cbdfbeb747a4e7d91418\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:17.885 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:38:17.969 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:17.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:17.969 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:17.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:38:18.025 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:17.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.197 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=3.291248ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:18.213 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:18.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:38:18.214 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=20.429495ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:17.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.379 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:17.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.478 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:38:18.479 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:18.481 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.600520658\n# Parse_time: 0\n# Compile_time: 0.004800724\n# Rewrite_time: 0.000016882\n# Optimize_time: 0\n# Wait_TS: 0.000154043\n# DB: mysql\n# Is_internal: true\n# Digest: 5759132672d59a4de3b27e6fbbd8f039e7489d9187962651ede26b9390589e5c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:18.491 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:38:18.576 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:18.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:18.577 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:18.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:38:18.671 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:18.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.778 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=3.08731ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:18.795 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:18.795 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:38:18.797 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=22.985265ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:18.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.904 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:18.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:18.986 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:38:18.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:18.988 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.50157474\n# Parse_time: 0\n# Compile_time: 0.004626889\n# Rewrite_time: 0.00004114\n# Optimize_time: 0\n# Wait_TS: 0.000175279\n# DB: mysql\n# Is_internal: true\n# Digest: 36f214f75d4d00ba6ac1ac7b8c95c01ec9574a40c07a536b2afe7a72144551b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:18.992 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:38:19.048 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:19.048 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:38:19.131 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.199 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=1.509311ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:19.213 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:19.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:38:19.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=18.366437ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.307 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.353 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:38:19.353 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:19.354 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.363604994\n# Parse_time: 0\n# Compile_time: 0.001799975\n# Rewrite_time: 0.000015658\n# Optimize_time: 0\n# Wait_TS: 0.000147172\n# DB: mysql\n# Is_internal: true\n# Digest: 1b59564c29970a0a8880792322e02b7df09888f7d0a2dfc190f3ed0ff12369d4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:19.357 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:38:19.410 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:19.410 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:38:19.468 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=2.228039ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:19.558 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:19.558 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:38:19.559 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=20.292859ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.678 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:19.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:38:19.742 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:19.744 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.388311474\n# Parse_time: 0\n# Compile_time: 0.001273729\n# Rewrite_time: 0.000012998\n# Optimize_time: 0\n# Wait_TS: 0.000122674\n# DB: mysql\n# Is_internal: true\n# Digest: ade124588c0253b12ce82702300a98a0ff778787142ce450039efbd6347664dc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:19.751 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:38:19.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:19.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:38:19.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=2.425918ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:20.016 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:20.016 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:38:20.017 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=18.662547ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:19.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.125 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:19.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.185 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:38:20.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:20.187 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.438696164\n# Parse_time: 0\n# Compile_time: 0.002909197\n# Rewrite_time: 0.000010442\n# Optimize_time: 0\n# Wait_TS: 0.000167087\n# DB: mysql\n# Is_internal: true\n# Digest: be740d9d66f07e7842e3b48027d6fb3ef54623295384e63dcbf3e1c8a9f15c10\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:20.193 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:38:20.248 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:20.248 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:38:20.305 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:20.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=2.474235ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:20.421 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:20.421 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:38:20.421 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=16.190629ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.527 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:20.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:20.626 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:38:20.627 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:20.629 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.438408666\n# Parse_time: 0\n# Compile_time: 0.002993915\n# Rewrite_time: 0.000014295\n# Optimize_time: 0\n# Wait_TS: 0.000165638\n# DB: mysql\n# Is_internal: true\n# Digest: 2db2929397c955d277d1b5400209b98787aa0797f979b9c213e3924c27b82ea9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:20.645 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:38:20.647 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:20.783 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:20.784 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:38:20.837 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:20.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=4.883484ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:21.042 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:21.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:38:21.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=24.084554ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:20.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.129 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:20.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.216 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:38:21.217 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:21.218 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.579060246\n# Parse_time: 0\n# Compile_time: 0.005741677\n# Rewrite_time: 0.000013804\n# Optimize_time: 0\n# Wait_TS: 0.000158874\n# DB: mysql\n# Is_internal: true\n# Digest: e038e634a5f1b7e5429d1252be7edf0ffb0922e8636032b9c68fd59f0484f6ef\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:21.224 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:38:21.286 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:21.286 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:38:21.332 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.453 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=3.324466ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:21.466 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:21.466 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:38:21.466 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=18.01028ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.521 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.239 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.595 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:38:21.595 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:21.596 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.374841098\n# Parse_time: 0\n# Compile_time: 0.002647561\n# Rewrite_time: 0.000017698\n# Optimize_time: 0\n# Wait_TS: 0.00017815\n# DB: mysql\n# Is_internal: true\n# Digest: 84a28596914df45e10de865c11a515d8595f2c38a422f5c8d8fb86a470ba5cad\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:21.600 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:38:21.643 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:21.643 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:38:21.706 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.777 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=2.292078ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:21.789 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:21.790 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:38:21.790 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=16.281316ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.838 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:21.883 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:38:21.883 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:21.891 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:38:21.945 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:21.945 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:38:22.007 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.111 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=2.304913ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:22.125 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:22.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:38:22.126 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=18.20741ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.273 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.356 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:38:22.356 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:22.358 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.470218084\n# Parse_time: 0\n# Compile_time: 0.002929076\n# Rewrite_time: 0.000014029\n# Optimize_time: 0\n# Wait_TS: 0.000129438\n# DB: mysql\n# Is_internal: true\n# Digest: 6f80e6944eacefde08a31e8364b171d37e77c4bebc7757ae375b47812ca371cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:22.362 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:38:22.464 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:22.464 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:38:22.526 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:22.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.616 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=2.410561ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:22.636 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:22.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:38:22.643 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=29.943906ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.753 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:22.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:22.817 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:38:22.818 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:22.819 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.459111607\n# Parse_time: 0\n# Compile_time: 0.001744881\n# Rewrite_time: 0.000013766\n# Optimize_time: 0\n# Wait_TS: 0.000139755\n# DB: mysql\n# Is_internal: true\n# Digest: ae00140f19e8173091b9a44ece06f4d51ecf640b3c9c924a7be8a7394182215f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:22.829 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:38:22.911 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:22.912 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:38:23.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:22.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.091 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=2.303744ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:23.106 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:23.106 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:38:23.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=21.017416ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:22.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.183 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:22.856 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:38:23.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:23.251 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.425824417\n# Parse_time: 0\n# Compile_time: 0.003737735\n# Rewrite_time: 0.000014164\n# Optimize_time: 0\n# Wait_TS: 0.000148143\n# DB: mysql\n# Is_internal: true\n# Digest: b0ac22a8699b953eeb48be3f830e94a20801551f37159b586c40d30dc883661d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:23.258 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:38:23.302 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:23.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:38:23.374 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:23.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.464 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=1.58095ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:23.482 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:23.482 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:38:23.483 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=20.980653ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.568 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:23.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.667 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:38:23.668 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:23.669 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.414093528\n# Parse_time: 0\n# Compile_time: 0.002901011\n# Rewrite_time: 0.000013557\n# Optimize_time: 0\n# Wait_TS: 0.00013552\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:23.679 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:38:23.756 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:23.756 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:38:23.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:23.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=4.07608ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:24.013 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:24.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:38:24.014 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=22.050926ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.100 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.225 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:38:24.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:24.227 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.55300795\n# Parse_time: 0\n# Compile_time: 0.004757293\n# Rewrite_time: 0.000015535\n# Optimize_time: 0\n# Wait_TS: 0.000163675\n# DB: mysql\n# Is_internal: true\n# Digest: 906c8d2d8937c4ba0f1e3f03de3e50407e0940fb66383a443b19d383373b2bb9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:24.245 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:38:24.299 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:24.299 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:38:24.373 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.445 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=1.711613ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:24.459 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:24.459 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:38:24.461 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=18.525982ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.514 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.570 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:38:24.571 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:24.572 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.329925056\n# Parse_time: 0\n# Compile_time: 0.003471091\n# Rewrite_time: 0.000017023\n# Optimize_time: 0\n# Wait_TS: 0.000163985\n# DB: mysql\n# Is_internal: true\n# Digest: df1a9dde39341a07eb2fb8ef599e6652770203b79af3e1800917053820a3b51c\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:24.575 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:38:24.611 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:24.611 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:38:24.678 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.201525ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:24.737 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:24.737 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:38:24.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=13.026825ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.809 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.584 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.844 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:38:24.844 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:24.848 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:38:24.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:24.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:38:24.938 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:24.985 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=1.090375ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:24.995 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:24.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:38:24.996 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=13.046468ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:24.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.042 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:24.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.072 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:38:25.073 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:25.083 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:38:25.141 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:25.141 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:38:25.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.323 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=3.752046ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:25.339 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:25.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:38:25.340 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=22.130657ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.433 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.502 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:38:25.502 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:25.504 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.424355254\n# Parse_time: 0\n# Compile_time: 0.004131817\n# Rewrite_time: 0.000018239\n# Optimize_time: 0\n# Wait_TS: 0.000134589\n# DB: mysql\n# Is_internal: true\n# Digest: 9c4f6672f019f6d6c588a6b2eb00b13f041ee54cb97f253f85d7ae52df9d23c6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:25.509 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:38:25.565 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:25.565 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:38:25.599 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.684 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=1.713878ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:25.698 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:25.699 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:38:25.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=18.686087ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.763 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:25.843 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:38:25.843 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:25.845 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.338634322\n# Parse_time: 0\n# Compile_time: 0.002748639\n# Rewrite_time: 0.000013457\n# Optimize_time: 0\n# Wait_TS: 0.000126273\n# DB: mysql\n# Is_internal: true\n# Digest: 9e692f90f6e351e4eecf3fbff7177acf0a166d0cd79badb0ce0ced2bb754eb99\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:25.853 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:38:25.910 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:25.910 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:38:25.966 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.071 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=2.625323ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:26.084 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:26.084 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:38:26.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=20.318635ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:25.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.171 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:25.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.222 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:38:26.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:26.223 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.372543269\n# Parse_time: 0\n# Compile_time: 0.002709456\n# Rewrite_time: 0.000014789\n# Optimize_time: 0\n# Wait_TS: 0.000146135\n# DB: mysql\n# Is_internal: true\n# Digest: fb2ab8d9eb87bcf45e5bc65e3dbe38a6d629c319d70fb6f44a741534bb3455a6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:26.228 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:38:26.281 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:38:26.281 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:26.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:26.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.435 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=1.967329ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:26.447 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:26.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:38:26.448 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=16.301115ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.537 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:26.242 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.582 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:38:26.582 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:26.584 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.358127317\n# Parse_time: 0\n# Compile_time: 0.002140421\n# Rewrite_time: 0.000013139\n# Optimize_time: 0\n# Wait_TS: 0.000112889\n# DB: mysql\n# Is_internal: true\n# Digest: 1fac41a3d4a89e3e4da2393e1f69d1aacfec8886db749d6329e9bf677df777b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:26.590 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:38:26.645 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:26.645 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:38:26.712 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:26.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=2.28663ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:26.846 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:26.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:38:26.847 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=16.369385ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:26.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:26.954 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:26.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.031 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:38:27.031 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:27.033 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.445502199\n# Parse_time: 0\n# Compile_time: 0.002959122\n# Rewrite_time: 0.000013591\n# Optimize_time: 0\n# Wait_TS: 0.000156153\n# DB: mysql\n# Is_internal: true\n# Digest: 06962f34c69b85ab590c2556bdffd68d7705d56a70a3b0522b0ba5bc55363fd3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:27.038 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:38:27.091 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:27.091 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:38:27.191 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=2.026941ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:27.286 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:27.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:38:27.287 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=17.619589ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.404 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.459 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:38:27.460 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:27.461 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.425355594\n# Parse_time: 0\n# Compile_time: 0.002052298\n# Rewrite_time: 0.000010413\n# Optimize_time: 0\n# Wait_TS: 0.000152925\n# DB: mysql\n# Is_internal: true\n# Digest: a30fd7e284f356f111cb15459926cdbebb3d6f24c950b6f3b9729d8b5f13ee4f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:27.472 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:38:27.474 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:38:27.537 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:27.538 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:38:27.589 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.734 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=2.682507ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:27.751 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:27.751 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:38:27.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=22.10735ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.791 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:27.850 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:38:27.850 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:27.852 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.384544603\n# Parse_time: 0\n# Compile_time: 0.004617181\n# Rewrite_time: 0.000012577\n# Optimize_time: 0\n# Wait_TS: 0.000137774\n# DB: mysql\n# Is_internal: true\n# Digest: c862b6db4c0b104bd6ade1db78bbe1f6a12a30584d750044f3eec57a1a86580e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:27.859 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:38:27.938 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.871 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:27.938 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.871 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:38:27.990 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.871 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.128 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=2.580138ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:28.142 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:28.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:38:28.144 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=20.097535ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:27.871 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.241 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:27.871 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.326 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:38:28.326 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:28.327 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.470961987\n# Parse_time: 0\n# Compile_time: 0.00249848\n# Rewrite_time: 0.000013319\n# Optimize_time: 0\n# Wait_TS: 0.000111092\n# DB: mysql\n# Is_internal: true\n# Digest: eceb528bf68c7d9b100b120b5113005ea7f5a4c6c1f4834403330ff156d0a3aa\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:28.333 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:38:28.410 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:28.410 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:38:28.458 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:28.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=3.017095ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:28.614 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:28.614 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:38:28.615 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=16.386684ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.664 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:28.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:28.745 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:38:28.745 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:28.746 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.415745733\n# Parse_time: 0\n# Compile_time: 0.002442616\n# Rewrite_time: 0.000014308\n# Optimize_time: 0\n# Wait_TS: 0.000118125\n# DB: mysql\n# Is_internal: true\n# Digest: 752363602773b9b875eec93769301ada55a059e0b28c5434de98fdbbc6af54cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:28.754 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:38:28.868 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:28.869 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:38:28.947 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:28.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.115 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=3.776673ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:29.126 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:29.126 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:38:29.127 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=16.227241ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:28.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.168 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:28.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.241 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:38:29.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:29.242 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.49181252\n# Parse_time: 0\n# Compile_time: 0.003862645\n# Rewrite_time: 0.000011664\n# Optimize_time: 0\n# Wait_TS: 0.000086797\n# DB: mysql\n# Is_internal: true\n# Digest: 1127cc15f332cc4c1c6b97d06d92880902c2f7e015188cc29392a62748dd8ae0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:29.245 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:38:29.277 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:29.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:29.277 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:29.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:38:29.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:29.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.411 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=1.818175ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:29.426 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:29.426 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:38:29.427 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=18.053446ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:29.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.520 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:29.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.557 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:38:29.557 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:29.559 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.314820528\n# Parse_time: 0\n# Compile_time: 0.001096623\n# Rewrite_time: 0.000011871\n# Optimize_time: 0\n# Wait_TS: 0.000101364\n# DB: mysql\n# Is_internal: true\n# Digest: 6eab04864600dfa37145d44689995984eecc83e3dc6ce49c1e75d23567f8bac3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:29.659 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:29.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:29.659 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:29.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:38:29.713 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:29.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.821 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=2.040918ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:38:29.833 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:29.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:38:29.835 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=16.696499ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:29.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.924 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:29.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:29.998 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:38:29.998 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:30.000 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.433916724\n# Parse_time: 0\n# Compile_time: 0.009155349\n# Rewrite_time: 0.004886937\n# Optimize_time: 0\n# Wait_TS: 0.000127905\n# DB: mysql\n# Is_internal: true\n# Digest: 96862a845511a9a5adb6aee43dd8eb50968e12bb7d22d4585df8d692780c2f3e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:30.007 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:38:30.063 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:30.064 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:38:30.113 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.206 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=2.635648ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:30.223 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:30.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:38:30.223 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=20.219483ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.354 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.019 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.434 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:38:30.434 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:30.436 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.432572695\n# Parse_time: 0\n# Compile_time: 0.003233644\n# Rewrite_time: 0.000023541\n# Optimize_time: 0\n# Wait_TS: 0.000150394\n# DB: mysql\n# Is_internal: true\n# Digest: d88a70e9c5bb5a28f5a1d1f52613093328fd73c5e78668fab2b1a9c260ab506b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:30.442 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:38:30.502 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:30.502 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:38:30.582 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.663 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=2.090796ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:30.678 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:30.678 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:38:30.680 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=20.259455ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.727 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.456 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.781 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:38:30.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:30.783 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.343860241\n# Parse_time: 0\n# Compile_time: 0.002548458\n# Rewrite_time: 0.000014232\n# Optimize_time: 0\n# Wait_TS: 0.00012695\n# DB: mysql\n# Is_internal: true\n# Digest: 1ce2bb4fd69df5a5aeb254910aeeab700c1408b8c2de8f7dbe3ebbc11a4b1542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:30.789 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:38:30.859 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:30.860 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:38:30.903 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:30.989 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=2.103694ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:31.012 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:31.012 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:38:31.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=26.62938ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:30.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:31.073 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:30.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:31.129 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:38:31.129 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:31.132 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.345052069\n# Parse_time: 0\n# Compile_time: 0.002248903\n# Rewrite_time: 0.000012629\n# Optimize_time: 0\n# Wait_TS: 0.000164748\n# DB: mysql\n# Is_internal: true\n# Digest: f2c0bd78cfe8f7e6b4f8b30f83a48ff4c49a1a9de1c1a0c721ec3561ac42865a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:31.145 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:38:31.286 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:31.286 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:38:31.428 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:31.631 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=4.557043ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:31.646 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:31.646 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:38:31.648 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=22.670996ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:31.726 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:31.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:31.825 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:38:31.825 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:31.827 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.687235161\n# Parse_time: 0\n# Compile_time: 0.00563075\n# Rewrite_time: 0.000014237\n# Optimize_time: 0\n# Wait_TS: 0.000157368\n# DB: mysql\n# Is_internal: true\n# Digest: 923db1cc9d609e172ea493293255661f5a9679f95604192db50211d133741170\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:31.835 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:38:31.927 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:31.927 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:38:31.990 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:31.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.160 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=4.922993ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:32.171 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:32.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:38:32.173 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=18.942573ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:31.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.222 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:31.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.322 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:38:32.323 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:32.324 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.493001496\n# Parse_time: 0\n# Compile_time: 0.004189235\n# Rewrite_time: 0.000013376\n# Optimize_time: 0\n# Wait_TS: 0.000149016\n# DB: mysql\n# Is_internal: true\n# Digest: 99a5c0e89a0b881a0fa10de262495ae25955edb2a7ef8776054ab57aca80e0d7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:32.336 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:38:32.489 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:32.489 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:38:32.586 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:32.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.760 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=3.671374ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:32.773 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:32.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:38:32.774 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=18.701099ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.815 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:32.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:32.948 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:38:32.949 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:32.951 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.620046503\n# Parse_time: 0\n# Compile_time: 0.005092578\n# Rewrite_time: 0.00001397\n# Optimize_time: 0\n# Wait_TS: 0.000149682\n# DB: mysql\n# Is_internal: true\n# Digest: a59d1fe47cade4697d39b0374d27cfee2fa302a4c752a5ae5073cecda386a0e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:32.960 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:38:33.043 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:33.043 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:38:33.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:32.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:33.300 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=2.735816ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:33.310 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:33.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:38:33.311 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=14.110291ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:32.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:33.354 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:32.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:33.460 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:38:33.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:33.465 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.508974368\n# Parse_time: 0\n# Compile_time: 0.004198549\n# Rewrite_time: 0.000016271\n# Optimize_time: 0\n# Wait_TS: 0.000168584\n# DB: mysql\n# Is_internal: true\n# Digest: 8b936e70dba13ed841799b00055530a734435802a5e9b11c1092357e8a0974ea\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:33.475 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:38:33.620 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:33.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:33.621 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:33.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:38:33.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:33.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:33.871 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=4.332086ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:33.884 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:33.884 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:38:33.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=20.089996ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:33.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:33.987 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:33.49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.089 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:38:34.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:34.092 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.620601842\n# Parse_time: 0\n# Compile_time: 0.003722404\n# Rewrite_time: 0.000016269\n# Optimize_time: 0\n# Wait_TS: 0.000143112\n# DB: mysql\n# Is_internal: true\n# Digest: 666f922981f05f40c7604fdcedd884ec9f6dd414d45b0b8215b19cbf33205685\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:34.103 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:38:34.197 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:34.197 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:38:34.252 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=3.18111ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:34.418 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:34.418 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:38:34.419 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=14.801546ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.455 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.534 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:38:34.534 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:34.536 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.438207289\n# Parse_time: 0\n# Compile_time: 0.004692263\n# Rewrite_time: 0.00001507\n# Optimize_time: 0\n# Wait_TS: 0.000151363\n# DB: mysql\n# Is_internal: true\n# Digest: 1865863db4761960f0296bcf5386c3bb0c98aa299ac12888aa8054dc66681ee3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:34.543 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:38:34.607 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:34.607 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:38:34.671 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=3.012295ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:34.819 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:34.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:38:34.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=17.948006ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.871 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:34.970 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:38:34.971 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:34.973 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.432341199\n# Parse_time: 0\n# Compile_time: 0.00268426\n# Rewrite_time: 0.000009827\n# Optimize_time: 0\n# Wait_TS: 0.000101156\n# DB: mysql\n# Is_internal: true\n# Digest: a2de40f38c40a12cca2de8ba7dffa75407607354a3f9335d67717fa5648c5128\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:34.981 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:38:35.088 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:35.088 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:38:35.182 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:35.340 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=8.30971ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:35.357 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:35.357 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:38:35.359 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=28.685869ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:35.476 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:35.586 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:38:35.586 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:35.588 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.611061658\n# Parse_time: 0\n# Compile_time: 0.004124508\n# Rewrite_time: 0.000015681\n# Optimize_time: 0\n# Wait_TS: 0.00014503\n# DB: mysql\n# Is_internal: true\n# Digest: 138d4c5637e5b37a1254d33767e808750320baffba8200a31ad2008bb2b5df97\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:35.627 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:38:35.748 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:35.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:35.748 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:35.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:38:35.798 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:35.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=5.637492ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:36.052 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:36.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:38:36.053 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=22.138354ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:35.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.160 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:35.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.264 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:38:36.265 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:36.267 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.653999067\n# Parse_time: 0\n# Compile_time: 0.014988166\n# Rewrite_time: 0.000015744\n# Optimize_time: 0\n# Wait_TS: 0.000154082\n# DB: mysql\n# Is_internal: true\n# Digest: 9911fdd027ae330cb69c5cc84a8759473df277eda62594b0dc9b5a797f09a21d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:36.276 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:38:36.343 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:36.344 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:38:36.411 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.504 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=2.069183ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:36.515 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:36.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:38:36.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=14.661044ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.564 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.656 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:38:36.656 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:36.658 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.385709897\n# Parse_time: 0\n# Compile_time: 0.004378835\n# Rewrite_time: 0.000012962\n# Optimize_time: 0\n# Wait_TS: 0.000137028\n# DB: mysql\n# Is_internal: true\n# Digest: 18ab068c70cca87bd99eadc5e483c12b4b41273470a58870b5f4e6eaf6322ce4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:36.663 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:38:36.701 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:36.701 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:38:36.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.809 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=2.113888ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:36.824 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:36.824 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:38:36.825 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=18.426544ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.906 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 10:38:36.907 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 10:38:36.907 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 10:38:36.907 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:38:36.918 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:36.960 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:38:36.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:36.962 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.301771047\n# Parse_time: 0\n# Compile_time: 0.00260531\n# Rewrite_time: 0.000013503\n# Optimize_time: 0\n# Wait_TS: 0.000157201\n# DB: mysql\n# Is_internal: true\n# Digest: d7aca5b8f7b6ebbd013778d4a0451e0b59954ffc0090d361b1f71722be496608\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:36.967 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:38:37.030 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:37.030 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:38:37.075 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=1.742836ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:38:37.169 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:37.169 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:38:37.171 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=17.072018ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:38:36.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.260 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:36.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.316 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:38:37.316 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:37.317 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.352754025\n# Parse_time: 0\n# Compile_time: 0.002528816\n# Rewrite_time: 0.00001425\n# Optimize_time: 0\n# Wait_TS: 0.000153498\n# DB: mysql\n# Is_internal: true\n# Digest: 5ca9dd4b3efdb0fd8b4c7af3016f911e048fc356c5b2a241e06c5bc30f085ce7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:37.319 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:38:37.348 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:37.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:37.348 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:37.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:38:37.395 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:37.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=558.581Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:38:37.434 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:37.434 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:38:37.436 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=14.376715ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:38:37.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.533 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:37.33 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.558 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:38:37.558 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:37.610 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:37.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:38:37.610 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:37.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:38:37.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:37.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=1.359919ms] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:38:37.804 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:38:37.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:38:37.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=14.061235ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:38:37.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.846 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:38:37.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:38:37.915 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:38:37.916 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:38:37.917 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.35552295\n# Parse_time: 0\n# Compile_time: 0.004078959\n# Rewrite_time: 0.002223088\n# Optimize_time: 0\n# Wait_TS: 0.000103262\n# DB: mysql\n# Is_internal: true\n# Digest: 04175714d714f771531a56c7ae3f097cec113655220f87ac336c5ae44d3d3f8f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:38:38.657 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449574841330958336\n# Query_time: 0.556687808\n# Parse_time: 0\n# Compile_time: 0.225768023\n# Rewrite_time: 0.004815145\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 363337\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZTozMTcuNW1zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDYxLjgBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0AUEAXwVosDIzMi43wrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjU3OMK1cywgZ2V0XxEiGHM6MjAuMcIBFwkTFDo1NzQuNgURHHNsb3dlc3RfEUEFdAAgEbRgMC4wMDFzLCByZWdpb25faWQ6IDIsIHN0bwHZBQcIMSwgGYwYcHJpbWFyeUZEAAAwikQADWQIbnVtAfQFzgxfa2V5JU0JDpxieXRlOjMyfX19LCBpbnNlcnQ6MjU1LjdtcwkxMDYuOCBLQglOL0EK')\n# Resource_group: default\n;"] [2024/05/06 10:38:38.861 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=24.983786931s] [2024/05/06 10:38:38.912 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=65db3135-8a33-4ddd-a950-5edc8c228c17] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:38:38.912 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:38.912 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=29.734Β΅s] [2024/05/06 10:38:38.912 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=36.917Β΅s] [2024/05/06 10:38:38.912 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=25.743Β΅s] [2024/05/06 10:38:38.912 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=18.09Β΅s] [2024/05/06 10:38:38.913 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:38.913 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=13.414Β΅s] [2024/05/06 10:38:38.913 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:38.913 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:38:38.913 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:38:38.936 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=65db3135-8a33-4ddd-a950-5edc8c228c17] ["take time"=74.144436ms] [2024/05/06 10:38:38.937 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=65db3135-8a33-4ddd-a950-5edc8c228c17] [2024/05/06 10:38:38.937 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:38:38.937 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 10:38:38.937 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:38:38.937 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:38:38.938 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 10:38:38.938 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:38:38.938 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:38:38.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:38:38.939 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=76.374446ms] [2024/05/06 10:38:38.939 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=688ced65-70fd-4c97-90e6-abc2236c3157] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:38:39.100 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:38:39.100 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:38:39.196 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=93.783969ms] [2024/05/06 10:38:39.200 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:38:39.200 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] [runWorker=true] [2024/05/06 10:38:39.200 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:38:39.200 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:38:39.200 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:38:39.201 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:38:39.201 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:38:39.201 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:38:39.201 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:38:39.201 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:38:39.227 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:38:39.227 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:38:39.257 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 10:38:39.270 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:38:39.370 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:38:39.407 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:38:39.420 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:38:39.420 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:38:39.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:38:39.423 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:38:39.425 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:38:39.432 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:38:39.432 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:38:39.484 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:38:39.849 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=51] ["start time"=396.52597ms] [2024/05/06 10:38:39.899 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:38:39.899 +00:00] [WARN] [domain.go:647] ["loading schema takes a long time"] ["take time"=448.334206ms] [2024/05/06 10:38:40.120 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449574841775030273\n# Conn_ID: 1\n# Query_time: 0.511033962\n# Parse_time: 0\n# Compile_time: 0.004458685\n# Rewrite_time: 0.000964573\n# Optimize_time: 0.001928358\n# Wait_TS: 0.000134075\n# Prewrite_time: 0.000601491 Commit_time: 0.001098343 Get_commit_ts_time: 0.000014293 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: 189 Prewrite_region: 1\n# Is_internal: true\n# Digest: 8bcf3376250721a817003f347e4fdb0ffec145153e015768871e386ba35ce1d2\n# Num_cop_tasks: 0\n# Mem_max: 9299\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\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('0ALwbTAJMjdfMQkwCTAJTi9BCTAJdGltZToyLjA1bXMsIGxvb3BzOjEsIHByZXBhcmU6IDgyOC45wrVzLCBpbnNlcnQ6MS4yM21zLCBjb21taXRfdHhuOiB7cHJld3JpdGU6NjAxLjXCtXMsIGdldF9jDSQUczoxNC4zBUYAYwUTPDoxLjFtcywgc2xvd2VzdF8RQNBfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogc3RvcmUxLCB9LA1UHF9wcmltYXJ51kQADWQIbnVtAf8FzRxfa2V5czozLA0OVGJ5dGU6MTg5fQkxLjA4IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('2wLw0ArWAgoISW5zZXJ0XzE4AUABUgNOL0FaFHRpbWU6Mi4wNW1zLCBsb29wczoxYiBwcmVwYXJlOiA4MjguOcK1cywgaW5zZXJ0OjEuMjNtc2L6AWNvbW1pdF90eG46IHtwcmV3cml0ZTo2MDEuNcK1cywgZ2V0X2NvbW1pdF90czoxNC4zwrVzLCBjb21taXQ6MS4xbXMsIHNsb3dlc3RfcHJld3JpdGVfcnBjOiB7dG90YWw6IDAuMDAxcywgcmVnaW9uX2lkOiAyLCBzdG9yZTogBQcQMSwgfSwNVDBfcHJpbWFyeV9ycGM6wkQAAHIJZBxudW06MSwgdwHNGF9rZXlzOjMRDmBieXRlOjE4OX1w0wh4////////////ARgB')\n# Resource_group: default\n insert into mysql.tidb_global_task(task_key, type, state, priority, concurrency, step, meta, create_time, target_scope) values ('key3', 'test', 'pending', 512, 4, -1, _binary'test', CURRENT_TIMESTAMP(), '');"] task_state_test.go:71: Error Trace: pkg/disttask/framework/storage/task_state_test.go:71 Error: Received unexpected error: task not found github.com/pingcap/tidb/pkg/disttask/framework/storage.init pkg/disttask/framework/storage/binding__failpoint_binding__.go:7 runtime.doInit1 GOROOT/src/runtime/proc.go:6735 runtime.doInit GOROOT/src/runtime/proc.go:6702 runtime.main GOROOT/src/runtime/proc.go:249 runtime.goexit src/runtime/asm_amd64.s:1650 Test: TestTaskState [2024/05/06 10:38:40.213 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=23.731Β΅s] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=29.572Β΅s] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=22.288Β΅s] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=26.909Β΅s] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:40.213 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=21.117Β΅s] [2024/05/06 10:38:40.214 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:38:40.214 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:38:40.214 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:38:40.215 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] ["take time"=26.949819ms] [2024/05/06 10:38:40.215 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] [2024/05/06 10:38:40.215 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:38:40.215 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:38:40.215 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:38:40.215 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:38:40.215 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:38:40.215 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:38:40.215 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:38:40.215 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:38:40.216 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:38:40.216 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:38:40.216 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:38:40.223 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:38:40.223 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:38:40.223 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:38:40.223 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:38:40.223 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:38:40.223 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:38:40.223 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:38:40.223 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:38:40.223 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:38:40.223 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:38:40.224 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] [ownerKey=/tidb/stats/owner] [2024/05/06 10:38:40.224 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=4a97d879-0d2a-42b5-a2fa-490fed2b2fcc] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:38:40.224 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:38:40.224 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:38:40.225 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:38:40.231 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 10:38:40.231 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 10:38:40.231 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 10:38:40.231 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:38:40.231 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 10:38:40.231 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 10:38:40.243 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=55.804681ms] [2024/05/06 10:38:40.245 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:38:40.245 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:38:40.245 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:38:40.245 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:38:40.245 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:38:40.246 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestTaskState (26.98s) FAIL coverage: 9.6% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/10078/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/disttask/framework/storage/storage_test_/storage_test.runfiles/__main__/pkg/disttask/framework/storage/storage_test_/storage_test ================================================================================ [11,468 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,471 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 38s remote-cache, linux-sandbox ... (70 actions running) [11,484 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,488 / 12,399] 254 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,499 / 12,399] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,504 / 12,399] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,510 / 12,399] 255 / 411 tests; Testing //pkg/ddl/ingest:ingest_test (shard 15 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,514 / 12,399] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,517 / 12,399] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 40s remote-cache, linux-sandbox ... (70 actions running) [11,522 / 12,425] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 41s remote-cache, linux-sandbox ... (70 actions running) [11,522 / 12,425] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [11,532 / 12,425] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,536 / 12,427] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,540 / 12,478] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,546 / 12,478] 256 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,553 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,556 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,557 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [11,560 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,563 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 46 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [11,570 / 12,478] 257 / 411 tests; Testing //pkg/ddl:ddl_test (shard 3 of 50); 48s remote-cache, linux-sandbox ... (70 actions running) [11,574 / 12,478] 257 / 411 tests; Testing //pkg/ddl:ddl_test (shard 3 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [11,575 / 12,478] 257 / 411 tests; Testing //pkg/ddl:ddl_test (shard 3 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,584 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 5 of 50); 33s remote-cache, linux-sandbox ... (70 actions running) [11,587 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 5 of 50); 34s remote-cache, linux-sandbox ... (70 actions running) [11,590 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 5 of 50); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,593 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 5 of 50); 37s remote-cache, linux-sandbox ... (70 actions running) [11,596 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 38s remote-cache, linux-sandbox ... (70 actions running) [11,601 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,604 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,607 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,609 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 43s remote-cache, linux-sandbox ... (70 actions running) [11,609 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 44s remote-cache, linux-sandbox ... (70 actions running) [11,611 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,614 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,621 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,626 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,632 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [11,633 / 12,478] 257 / 411 tests; Testing //pkg/ttl/ttlworker:ttlworker_test (shard 6 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,639 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,643 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [11,648 / 12,478] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 47s remote-cache, linux-sandbox ... (70 actions running) [11,655 / 12,485] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,658 / 12,485] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,661 / 12,485] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,666 / 12,485] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [11,666 / 12,485] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 53s remote-cache, linux-sandbox ... (70 actions running) [11,671 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [11,672 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,676 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,680 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [11,684 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,686 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [11,688 / 12,536] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [11,694 / 12,549] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,697 / 12,549] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,697 / 12,549] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,704 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,710 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [11,713 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,715 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,716 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [11,719 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,721 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,725 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 77s remote-cache, linux-sandbox ... (69 actions running) [11,729 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,730 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,732 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 81s remote-cache, linux-sandbox ... (70 actions running) [11,740 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,744 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,748 / 12,578] 257 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,755 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [11,757 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,758 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,760 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 90s remote-cache, linux-sandbox ... (70 actions running) [11,764 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,768 / 12,578] 258 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 93s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,770 / 12,578] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [11,772 / 12,578] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 96s remote-cache, linux-sandbox ... (70 actions running) [11,773 / 12,578] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 97s remote-cache, linux-sandbox ... (70 actions running) [11,777 / 12,578] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,778 / 12,578] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 100s remote-cache, linux-sandbox ... (70 actions running) [11,781 / 12,590] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 101s remote-cache, linux-sandbox ... (70 actions running) [11,784 / 12,590] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 103s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,788 / 12,590] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 104s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,790 / 12,590] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 105s remote-cache, linux-sandbox ... (70 actions running) [11,793 / 12,590] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 106s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,796 / 12,638] 259 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 108s remote-cache, linux-sandbox ... (70 actions running) [11,797 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 109s remote-cache, linux-sandbox ... (70 actions running) [11,798 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 111s remote-cache, linux-sandbox ... (70 actions running) [11,802 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [11,804 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 114s remote-cache, linux-sandbox ... (70 actions running) [11,808 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 116s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,813 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,814 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 118s remote-cache, linux-sandbox ... (69 actions running) [11,815 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 119s remote-cache, linux-sandbox ... (70 actions running) [11,817 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [11,819 / 12,638] 260 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 121s remote-cache, linux-sandbox ... (69 actions running) [11,822 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,824 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 124s remote-cache, linux-sandbox ... (70 actions running) [11,826 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [11,827 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 127s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,830 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 128s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,835 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 129s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,837 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 130s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,839 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 131s remote-cache, linux-sandbox ... (70 actions running) [11,842 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 132s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,847 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 134s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,849 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 135s remote-cache, linux-sandbox ... (70 actions running) [11,851 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 136s remote-cache, linux-sandbox ... (70 actions running) [11,854 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 137s remote-cache, linux-sandbox ... (70 actions running) [11,855 / 12,638] 261 / 411 tests; Testing //pkg/expression:expression_test (shard 7 of 50); 138s remote-cache, linux-sandbox ... (70 actions running) [11,856 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,859 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,860 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [11,861 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,864 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [11,867 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,869 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [11,870 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,871 / 12,638] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [11,877 / 12,640] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [11,877 / 12,640] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [11,880 / 12,653] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [11,883 / 12,653] 261 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [11,883 / 12,653] 262 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [11,885 / 12,653] 262 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/disttask/framework/storage:storage_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_21_of_22/test_attempts/attempt_1.log [11,889 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,889 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [11,890 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [11,893 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,896 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,898 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 79s remote-cache, linux-sandbox ... (70 actions running) [11,902 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,903 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 82s remote-cache, linux-sandbox ... (70 actions running) [11,908 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 83s remote-cache, linux-sandbox ... (69 actions running) [11,909 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 84s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,913 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,917 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,917 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 88s remote-cache, linux-sandbox ... (70 actions running) [11,921 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 89s remote-cache, linux-sandbox ... (70 actions running) [11,926 / 12,653] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,933 / 12,678] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,935 / 12,678] 263 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,939 / 12,678] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 94s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,946 / 12,678] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 95s remote-cache, linux-sandbox ... (70 actions running) [11,952 / 12,678] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 96s remote-cache, linux-sandbox ... (70 actions running) [11,954 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 97s remote-cache, linux-sandbox ... (70 actions running) [11,954 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 98s remote-cache, linux-sandbox ... (70 actions running) [11,961 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 99s remote-cache, linux-sandbox ... (70 actions running) [11,964 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 101s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,968 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 102s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,968 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 103s remote-cache, linux-sandbox ... (70 actions running) [11,972 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 104s remote-cache, linux-sandbox ... (70 actions running) [11,974 / 12,729] 264 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 105s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,980 / 12,753] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 106s remote-cache, linux-sandbox ... (70 actions running) [11,983 / 12,753] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 107s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,988 / 12,774] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 108s remote-cache, linux-sandbox ... (69 actions, 68 running) [11,990 / 12,774] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 110s remote-cache, linux-sandbox ... (70 actions running) [11,990 / 12,774] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 112s remote-cache, linux-sandbox ... (70 actions running) [11,996 / 12,774] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 113s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,000 / 12,783] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 114s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,008 / 12,783] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 116s remote-cache, linux-sandbox ... (70 actions running) [12,015 / 12,783] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 117s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,016 / 12,783] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 118s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,018 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 120s remote-cache, linux-sandbox ... (70 actions running) [12,023 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 121s remote-cache, linux-sandbox ... (70 actions running) [12,023 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 122s remote-cache, linux-sandbox ... (70 actions running) [12,030 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 123s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,031 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 125s remote-cache, linux-sandbox ... (70 actions running) [12,037 / 12,785] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 126s remote-cache, linux-sandbox ... (70 actions running) [12,041 / 12,836] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 127s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,044 / 12,836] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 129s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,048 / 12,836] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 130s remote-cache, linux-sandbox ... (70 actions running) [12,048 / 12,836] 265 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 131s remote-cache, linux-sandbox ... (70 actions running) [12,053 / 12,836] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 132s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,056 / 12,836] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 133s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,059 / 12,836] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 135s remote-cache, linux-sandbox ... (70 actions running) [12,059 / 12,836] 266 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 136s remote-cache, linux-sandbox ... (70 actions running) [12,064 / 12,836] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 137s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,068 / 12,836] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 139s remote-cache, linux-sandbox ... (70 actions running) [12,071 / 12,836] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 140s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,074 / 12,843] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 142s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,078 / 12,843] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 143s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,078 / 12,843] 267 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 144s remote-cache, linux-sandbox ... (70 actions running) [12,078 / 12,843] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 145s remote-cache, linux-sandbox ... (70 actions running) [12,087 / 12,849] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 147s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,088 / 12,849] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 148s remote-cache, linux-sandbox ... (70 actions running) [12,091 / 12,849] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 149s remote-cache, linux-sandbox ... (70 actions running) [12,092 / 12,849] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 150s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,099 / 12,851] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 151s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,100 / 12,851] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 152s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,104 / 12,851] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 154s remote-cache, linux-sandbox ... (69 actions, 68 running) FAIL: //pkg/ddl:ddl_test (shard 31 of 50) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_31_of_50/test_attempts/attempt_1.log) [12,107 / 12,851] 268 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 155s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,111 / 12,851] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 156s remote-cache, linux-sandbox ... (70 actions running) [12,112 / 12,851] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 157s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,117 / 12,853] 269 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 158s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,118 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 160s remote-cache, linux-sandbox ... (70 actions running) [12,123 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 161s remote-cache, linux-sandbox ... (70 actions running) [12,124 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 162s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,125 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 163s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,132 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 164s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,134 / 12,853] 270 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 166s remote-cache, linux-sandbox ... (70 actions running) [12,136 / 12,853] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 167s remote-cache, linux-sandbox ... (70 actions running) [12,142 / 12,868] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 169s remote-cache, linux-sandbox ... (70 actions running) [12,144 / 12,868] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 170s remote-cache, linux-sandbox ... (70 actions running) [12,147 / 12,868] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 171s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,148 / 12,868] 272 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 173s remote-cache, linux-sandbox ... (70 actions running) [12,149 / 12,868] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 174s remote-cache, linux-sandbox ... (70 actions running) [12,160 / 12,868] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 175s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,164 / 12,885] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 176s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,166 / 12,885] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 178s remote-cache, linux-sandbox ... (69 actions, 68 running) INFO: From Testing //pkg/ddl:ddl_test (shard 31 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 31 of 50): === RUN TestTransactionWithWriteOnlyColumn [2024/05/06 10:43:02.717 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:02.717 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:02.717 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:02.718 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:02.718 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:02.719 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:02.721 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a2b873f6-902a-4723-8be2-bc0c4fdd1f10] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:02.731 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:02.731 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:02.732 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestTransactionWithWriteOnlyColumn\n\tpkg/ddl/column_modify_test.go:424\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:02.735 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.489144ms] [2024/05/06 10:43:02.736 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:02.736 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=0dbb3fec-a56b-4ce6-ac2f-783243ca390c] [runWorker=true] [2024/05/06 10:43:02.736 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:02.736 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:02.736 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:02.736 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:02.736 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:02.736 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:02.736 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:02.736 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:02.737 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:02.745 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:02.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.745 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:02.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:02.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.761 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=4.51532ms] [2024/05/06 10:43:02.761 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:02.763 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.763 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:02.765 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=8.343454ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:02.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.769 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.741 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.772 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:02.772 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.773 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:02.774 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:02.780 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.780 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:02.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.797 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=717.899Β΅s] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.799 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:02.801 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=5.008219ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.808 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.816 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:02.816 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.816 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:02.820 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.820 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:02.826 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.830 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=215.749Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.831 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.831 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:02.832 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.439488ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.837 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.818 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.841 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:02.841 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.841 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:02.845 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.845 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:02.860 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.864 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=243.9Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.865 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.865 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:02.866 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.964428ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.874 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.881 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:02.881 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.882 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:02.886 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.886 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:02.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.900 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=556.713Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.901 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.901 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:02.905 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=5.800072ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.909 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.914 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:02.914 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.915 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:02.918 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.918 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:02.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=395.222Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.929 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.929 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:02.936 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.558868ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.947 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.916 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.951 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:02.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.952 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:02.959 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.959 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:02.964 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.968 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=327.587Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.969 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.969 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:02.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=3.036277ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.975 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.956 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.979 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:02.979 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:02.979 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:02.981 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:02.981 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:02.988 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=215.603Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:02.992 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:02.992 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:02.993 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.116761ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:02.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:02.997 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:02.98 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.002 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:03.003 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.003 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:03.015 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.015 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:03.026 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=327.109Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.032 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.032 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:03.034 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.603196ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.045 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.005 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.048 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:03.048 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.049 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:03.052 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.052 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:03.059 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.063 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=279.968Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.064 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.064 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:03.064 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.025238ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.068 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.070 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:03.070 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.071 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:03.073 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.073 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:03.080 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=288.598Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.084 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.084 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:03.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.284206ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.089 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:03.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:03.092 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:03.094 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.095 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:03.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.105 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=411.783Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.106 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.106 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:03.107 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.541253ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.112 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.115 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:03.115 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.116 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:03.118 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.118 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:03.123 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.126 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=336.468Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.128 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.128 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:03.129 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.785198ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.133 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.117 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.136 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:03.136 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.137 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:03.139 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.139 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:03.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=210.341Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.149 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:03.150 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.021511ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.154 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.138 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.157 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:03.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.158 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:03.160 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.160 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:03.167 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.169 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=270.609Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.171 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:03.171 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.386407ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.175 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.179 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:03.179 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.179 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:03.181 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.181 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:03.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.192 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=180.93Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.193 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.193 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:03.194 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.046423ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.200 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.203 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:03.203 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.203 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:03.206 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.206 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:03.213 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=312.684Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.218 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:03.219 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.801588ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.223 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.226 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:03.226 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.227 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:03.229 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.230 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:03.236 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.239 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=310.692Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.240 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:03.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.010055ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.245 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:03.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.250 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:03.253 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.253 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:03.260 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.264 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=350.122Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.265 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.265 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:03.266 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.068957ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.270 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.275 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:03.275 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.276 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:03.279 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.279 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:03.286 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.289 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=325.429Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.290 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.290 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:03.291 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.041874ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.298 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.301 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:03.301 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.302 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:03.305 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.305 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:03.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=215.665Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.315 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.315 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:03.316 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.341487ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.320 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.323 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:03.323 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.323 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:03.326 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.326 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:03.335 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.337 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=172.322Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.338 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.338 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:03.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.3754ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.346 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.324 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.348 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:03.348 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.349 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:03.351 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.351 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:03.358 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=377.512Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.363 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:03.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.507381ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.369 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.372 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:03.372 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.372 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:03.375 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.375 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:03.381 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.383 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=180.283Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.384 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.384 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:03.386 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=3.011557ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.390 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.374 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.393 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:03.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:03.395 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.396 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:03.401 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.404 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=206.512Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.404 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:03.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.31802ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.409 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.412 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:03.412 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.413 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:03.415 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.415 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:03.420 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.423 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=234.901Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.424 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.424 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:03.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.339383ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.429 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.432 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:03.432 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.432 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:03.434 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.434 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:03.441 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=187.137Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.445 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.445 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:03.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.119815ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.457 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.433 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.461 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:03.461 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.461 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:03.464 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.464 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:03.478 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.480 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=173.08Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.481 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.481 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:03.482 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.462112ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.487 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.463 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.490 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:03.491 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.491 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:03.491 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:03.494 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.494 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:03.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=235.973Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.503 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:03.505 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=3.515988ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.509 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.511 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:03.511 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.511 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:03.513 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.513 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:03.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.524 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=370.585Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.526 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.526 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:03.526 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.498781ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.530 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.512 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.533 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:03.533 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.534 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:03.537 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.537 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:03.543 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=347.98Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.547 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:03.547 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.022038ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.552 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.555 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:03.555 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.555 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:03.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:03.567 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.571 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=450.914Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.573 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.573 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:03.576 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.981904ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.581 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.585 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:03.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.585 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:03.588 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.588 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:03.594 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=149.482Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.597 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.597 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:03.598 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.056668ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.603 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.586 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.605 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:03.606 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.608 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:03.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.608 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:03.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:03.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.616 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=194.654Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:03.617 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.617 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:03.618 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.028703ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:03.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.621 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.624 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:03.625 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.625 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:03.627 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.627 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:03.633 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.635 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=194.246Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.636 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:03.637 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.071836ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.644 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.647 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:03.647 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.647 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:03.650 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.650 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:03.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.667 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=194.006Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.668 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.668 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:03.669 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.129958ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.674 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.676 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:03.676 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.677 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:03.679 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.679 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:03.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=209.227Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.689 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:03.691 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=3.068531ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.694 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.697 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:03.697 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.697 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:03.700 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.700 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:03.706 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.709 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=301.383Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.710 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.710 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:03.711 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.835024ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.716 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.719 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:03.720 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.720 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:03.723 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.723 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:03.728 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.732 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=452.988Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.733 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.733 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:03.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.055618ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.737 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:03.737 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.721 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.741 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:03.741 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.741 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:03.744 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.744 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:03.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=314.059Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.756 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:03.757 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.235813ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.761 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.766 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:03.766 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.766 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:03.769 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.769 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:03.776 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.781 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=515.238Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.782 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.782 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:03.783 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.847429ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.788 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.768 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.791 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:03.791 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.792 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:03.795 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.795 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:03.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=456.521Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.804 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:03.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.739293ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.810 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.813 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:03.813 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.814 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:03.817 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.817 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:03.823 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.828 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=365.105Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.829 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.829 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:03.830 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=2.409228ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.834 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.838 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:03.838 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.838 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:03.841 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.841 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:03.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=378.378Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.853 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:03.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.995652ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.858 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.862 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:03.862 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.863 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:03.868 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.868 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:03.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=280.819Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:03.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=3.348109ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.896 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.866 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.899 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:03.899 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.899 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:03.903 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.903 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:03.907 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.912 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=425.786Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.913 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.913 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:03.914 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.034761ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.918 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:03.922 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.923 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:03.926 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.926 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:03.932 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.934 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=296.507Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.936 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:03.937 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=3.102126ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.948 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.952 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:03.952 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.952 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:03.955 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.955 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:03.964 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=217.237Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.967 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:03.968 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.263803ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.973 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.954 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.976 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:03.976 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:03.976 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:03.979 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:03.979 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:03.988 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:03.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=287.897Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:03.993 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:03.993 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:03.993 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.027175ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:03.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.002 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:03.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.008 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:04.008 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.008 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:04.010 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.010 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:04.018 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=61.583Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:04.021 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:04.023 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.783928ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.027 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:04.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.033 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.033 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:04.040 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.042 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=181.594Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:04.043 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.043 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:04.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.232853ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.050 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.053 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:04.053 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.080 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.343379402s] [2024/05/06 10:43:04.080 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=0dbb3fec-a56b-4ce6-ac2f-783243ca390c] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.599Β΅s] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=818ns] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=965ns] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.468Β΅s] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=959ns] [2024/05/06 10:43:04.080 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.080 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:04.080 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:04.083 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=0dbb3fec-a56b-4ce6-ac2f-783243ca390c] ["take time"=3.272349ms] [2024/05/06 10:43:04.083 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=0dbb3fec-a56b-4ce6-ac2f-783243ca390c] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:04.083 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:04.083 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.50595ms] [2024/05/06 10:43:04.083 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=a2b873f6-902a-4723-8be2-bc0c4fdd1f10] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:04.090 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:04.091 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:04.106 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=15.038034ms] [2024/05/06 10:43:04.106 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:04.106 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] [runWorker=true] [2024/05/06 10:43:04.107 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:04.107 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:04.107 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:04.107 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:04.107 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:04.107 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:04.107 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:04.107 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:04.110 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:04.110 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:04.113 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 10:43:04.114 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:04.122 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:04.125 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:04.126 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:04.126 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:04.127 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:04.127 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:04.128 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:04.128 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:04.128 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:04.128 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:04.129 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:04.130 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:04.130 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:04.134 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:04.135 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1"] [user=] [2024/05/06 10:43:04.135 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t1 (a int key);"] [user=] [2024/05/06 10:43:04.138 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.138 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1 (a int key);"] [2024/05/06 10:43:04.142 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.144 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:04.171 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=26.675247ms] [2024/05/06 10:43:04.177 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:04.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:04.181 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=36.518141ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.186 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.136 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.189 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:04.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.190 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="alter table t1 add column c int not null"] [user=] [2024/05/06 10:43:04.192 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.192 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 add column c int not null"] [2024/05/06 10:43:04.198 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.198 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.198 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":1,\"origin_default\":\"0\",\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:04.198 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.200 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=225.351Β΅s] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:04.201 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 10:43:04.202 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.85178ms] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.203 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.206 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.206 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.206 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.208 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=245.948Β΅s] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:04.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 10:43:04.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.586146ms] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.211 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.215 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.217 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=184.114Β΅s] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:04.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 10:43:04.219 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.430347ms] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.220 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.222 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.222 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.223 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=162.598Β΅s] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:04.225 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/06 10:43:04.227 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=3.100012ms] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.228 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.231 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=106] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.233 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.191 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.233 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 10:43:04.234 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.236 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=56] [cur_db=test] [sql="alter table t1 drop column c"] [user=] [2024/05/06 10:43:04.238 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.238 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 drop column c"] [2024/05/06 10:43:04.243 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [category=ddl] [job="ID:107, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.244 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.245 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=177.383Β΅s] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:04.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=57] [2024/05/06 10:43:04.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.95149ms] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.249 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.254 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.255 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=208.756Β΅s] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:04.256 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=58] [2024/05/06 10:43:04.257 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.197613ms] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.264 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.264 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.271 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=202.687Β΅s] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:04.273 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=59] [2024/05/06 10:43:04.275 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.893019ms] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.276 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.279 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.279 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [category=ddl] [job="ID:107, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.279 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.281 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=204.816Β΅s] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:04.282 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60] [2024/05/06 10:43:04.283 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.862392ms] [job="ID:107, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.284 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.287 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=107] [jobType="drop column"] [2024/05/06 10:43:04.287 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [job="ID:107, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.290 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:04.237 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.292 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 10:43:04.292 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.294 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=1.39Β΅s] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=1.234Β΅s] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=1.031Β΅s] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=1.095Β΅s] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=1.097Β΅s] [2024/05/06 10:43:04.294 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:04.294 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:04.294 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:04.295 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] ["take time"=1.765007ms] [2024/05/06 10:43:04.295 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] [2024/05/06 10:43:04.295 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:04.295 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:04.295 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:04.295 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:04.295 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:04.296 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:04.296 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6c510a75-7dce-4b8e-abf2-46c8b0ad70ec] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:04.296 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:04.296 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:04.296 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.052509ms] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:04.327 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestTransactionWithWriteOnlyColumn (1.93s) === RUN TestSchemaChangeForDropColumnWithIndexes [2024/05/06 10:43:04.633 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:04.633 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.633 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.633 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.633 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.634 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.636 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=ecf327e2-1e0c-48d7-966a-552809f929de] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/06 10:43:04.642 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:04.642 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:04.642 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSchemaChangeForDropColumnWithIndexes\n\tpkg/ddl/db_change_test.go:652\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:04.655 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=13.024598ms] [2024/05/06 10:43:04.656 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:04.656 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=f8aede4f-078a-48d1-a0cf-4893b52e6c54] [runWorker=true] [2024/05/06 10:43:04.657 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:04.657 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:04.657 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:04.657 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:04.657 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:04.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:04.657 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:04.657 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:04.657 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:04.657 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:04.660 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.660 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:04.666 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.687 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.04593ms] [2024/05/06 10:43:04.688 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:04.690 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.690 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:04.692 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=24.747856ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.698 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.700 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:04.700 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.701 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:04.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:04.707 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.707 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:04.715 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.725 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.208839ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.726 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.726 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:04.728 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.391212ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.733 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.739 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:04.739 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.739 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:04.741 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.741 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:04.749 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=217.91Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.758 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:04.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.026357ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.765 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:04.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.768 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:04.771 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.771 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:04.779 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.786 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=284.058Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.787 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:04.788 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.45864ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.793 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.769 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.796 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:04.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.797 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:04.800 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.800 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:04.806 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.812 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=705.043Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.814 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.814 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:04.817 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=5.053159ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.822 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.826 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:04.826 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.826 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:04.830 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.830 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:04.836 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=421.117Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.841 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.841 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:04.842 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.606248ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.849 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.853 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:04.853 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.854 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:04.857 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.857 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:04.864 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.867 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=263.13Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.868 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.868 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:04.869 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.559227ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.877 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.881 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:04.882 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.882 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:04.885 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.885 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:04.898 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.901 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=323.769Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.902 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.902 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:04.903 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=3.066728ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.908 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.884 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.911 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:04.911 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.911 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:04.914 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.914 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:04.923 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.926 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=255.272Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.927 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:04.928 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.352888ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.933 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.936 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:04.936 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.937 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:04.940 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.940 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:04.948 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.951 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=282.461Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.952 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.952 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:04.953 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.040506ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.957 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.960 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:04.960 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.961 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:04.964 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.964 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:04.973 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=395.904Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:04.979 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:04.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:04.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.302697ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.985 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:04.988 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:04.988 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:04.989 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:04.989 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:04.992 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:04.992 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:04.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=533.145Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.003 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:05.004 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.108424ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:04.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.008 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:04.99 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.012 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:05.012 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.013 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:05.016 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.016 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:05.022 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.026 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=296.034Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.027 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:05.028 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.254036ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.032 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.035 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:05.035 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.035 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:05.037 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.037 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:05.045 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.048 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=340.705Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.049 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.049 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:05.051 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=3.481858ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.056 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.036 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.059 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:05.059 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.060 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:05.063 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.063 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:05.070 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.073 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=269.861Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.074 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.074 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:05.075 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=3.033431ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.081 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.061 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.085 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:05.085 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.085 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:05.089 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.089 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:05.094 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=281.88Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.098 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:05.099 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.311392ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.104 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.087 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.107 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:05.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.108 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:05.111 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.111 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:05.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.124 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=299.025Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.125 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:05.127 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=3.015582ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.132 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.135 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:05.135 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.135 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:05.138 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.138 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:05.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=327.345Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.149 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:05.150 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.182762ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.155 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.158 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:05.158 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.159 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:05.165 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.165 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:05.171 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=490.416Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.178 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.178 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:05.181 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.783566ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.186 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.190 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:05.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.191 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:05.194 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.194 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:05.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.204 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=223.285Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.205 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.205 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:05.206 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.263128ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.211 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.214 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:05.214 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.215 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:05.218 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.218 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:05.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.230 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=221.121Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.231 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.231 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:05.234 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=4.451169ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.239 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.216 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.242 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:05.242 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.242 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:05.245 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.245 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:05.253 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=518.685Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.260 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.260 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:05.262 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=4.804848ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.267 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.270 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:05.270 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.271 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:05.274 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.274 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:05.282 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=340.223Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.288 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.288 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:05.289 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.319748ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.294 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.273 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.298 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:05.298 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.298 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:05.303 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:05.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=295.562Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.314 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:05.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.047037ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.323 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.328 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:05.328 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.328 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:05.331 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.331 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:05.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.347 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=327.457Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.348 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:05.349 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.228247ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.354 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.361 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:05.361 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.361 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:05.364 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.364 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:05.371 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=262.429Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.375 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:05.376 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.807114ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.383 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.363 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.386 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:05.386 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.386 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:05.389 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.389 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:05.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=287.316Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.403 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:05.403 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.010353ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.408 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.411 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:05.411 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.411 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:05.414 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.414 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:05.423 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.427 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=303.084Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.428 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:05.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.538173ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.434 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.438 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:05.438 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.438 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:05.438 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:05.444 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.444 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:05.451 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.455 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=312.74Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.457 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.457 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:05.457 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.190377ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.466 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.470 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:05.470 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.470 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:05.474 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.474 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:05.481 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=377.795Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.485 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.485 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:05.486 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.525023ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.491 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.495 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:05.495 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.495 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:05.498 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.498 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:05.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=341.88Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.510 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.510 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:05.511 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.99536ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.515 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.519 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:05.519 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.520 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:05.524 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.524 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:05.531 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=606.449Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.537 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.537 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:05.539 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.533046ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.547 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.552 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:05.553 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.553 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:05.556 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.556 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:05.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.565 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=215.905Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.567 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.567 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:05.567 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.262915ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.575 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.579 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:05.579 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.583 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:05.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.583 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:05.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:05.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.594 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=377.762Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:05.595 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:05.596 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.34558ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:05.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.600 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.581 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.604 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:05.604 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.604 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:05.608 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.608 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:05.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.617 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=289.591Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.619 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.619 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:05.619 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.389897ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.624 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.606 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.628 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:05.628 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.628 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:05.632 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.632 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:05.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=218.775Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.644 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.644 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:05.644 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.417315ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.649 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.653 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:05.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.654 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:05.656 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.656 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:05.658 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:05.664 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.667 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=250.317Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.668 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.668 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:05.669 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.319142ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.675 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.679 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:05.679 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.679 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:05.682 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.682 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:05.688 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.692 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=533.874Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.694 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:05.696 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.450189ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.702 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.709 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:05.709 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.710 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:05.714 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.714 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:05.718 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.723 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=392.449Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.724 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.724 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:05.724 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.090667ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.731 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.736 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:05.736 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.737 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:05.746 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.746 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:05.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=447.62Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.759 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.759 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:05.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=5.01609ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.770 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.777 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:05.777 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.778 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:05.782 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.782 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:05.789 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.796 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=605.442Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.798 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.798 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:05.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=9.528074ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.813 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.779 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.822 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:05.822 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.822 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:05.826 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.827 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:05.835 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=615.407Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.841 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.841 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:05.844 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.656902ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.849 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.824 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.854 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:05.855 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.855 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:05.859 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.859 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:05.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.871 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=586.763Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.872 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.872 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:05.874 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.044746ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.879 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.857 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.884 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:05.884 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.884 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:05.887 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.888 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:05.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=432.991Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.900 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.900 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:05.900 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.02124ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.906 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.886 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.910 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:05.910 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.911 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:05.914 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.914 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:05.929 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.933 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=315.003Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.934 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:05.935 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.194074ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.940 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.912 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.944 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:05.944 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.945 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:05.949 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.949 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:05.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.962 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=668.189Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:05.964 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:05.964 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:05.966 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.663017ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.973 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:05.978 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:05.978 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:05.979 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:05.988 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:05.988 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:05.996 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=423.615Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.002 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:06.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:06.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.791219ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:05.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.010 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:05.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.013 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:06.013 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.013 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:06.017 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.017 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:06.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=284.108Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.031 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:06.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:06.032 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.346392ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.037 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.040 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:06.040 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.040 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:06.044 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.044 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:06.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=337.665Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.056 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:06.056 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:06.058 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.062622ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.066 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.042 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.071 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:06.071 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.071 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:06.073 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.073 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:06.081 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=107.742Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:06.084 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:06.084 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:06.085 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.665497ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.089 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.072 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.092 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:06.092 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.095 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.095 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:06.102 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.107 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=253.506Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:06.109 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:06.109 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:06.109 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.016361ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 11, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.116 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:06.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.147 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.489771399s] [2024/05/06 10:43:06.147 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f8aede4f-078a-48d1-a0cf-4893b52e6c54] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 14, tp add index"] [category=ddl] ["take time"=2.075Β΅s] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 15, tp add index"] [category=ddl] ["take time"=1.038Β΅s] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 12, tp add index"] [category=ddl] ["take time"=913ns] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 13, tp add index"] [category=ddl] ["take time"=842ns] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 11, tp general"] [category=ddl] ["take time"=802ns] [2024/05/06 10:43:06.147 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.147 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:06.147 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:06.149 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=f8aede4f-078a-48d1-a0cf-4893b52e6c54] ["take time"=2.21455ms] [2024/05/06 10:43:06.149 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=f8aede4f-078a-48d1-a0cf-4893b52e6c54] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:06.149 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:06.149 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.401216ms] [2024/05/06 10:43:06.149 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=ecf327e2-1e0c-48d7-966a-552809f929de] ["ddl lease"=200ms] ["stats lease"=-1ns] [2024/05/06 10:43:06.155 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:06.155 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:06.182 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=26.619087ms] [2024/05/06 10:43:06.188 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:06.188 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] [runWorker=true] [2024/05/06 10:43:06.188 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:06.188 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:06.188 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:06.188 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:06.188 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:06.188 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:06.189 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:06.194 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:06.195 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:06.206 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:06.208 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:06.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:06.210 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:06.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:06.210 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:06.211 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:06.211 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:06.212 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:06.212 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:06.212 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:06.213 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:06.213 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:06.214 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=51] [cur_db=] [sql="create database test_db_state default charset utf8 default collate utf8_bin"] [user=] [2024/05/06 10:43:06.216 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.216 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_db_state default charset utf8 default collate utf8_bin"] [2024/05/06 10:43:06.221 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=2] [category=ddl] [job="ID:105, Type:create schema, State:queueing, SchemaState:none, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.223 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=false) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=false) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:06.235 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=12.054662ms] [2024/05/06 10:43:06.236 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:06.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:06.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=16.984781ms] [job="ID:105, Type:create schema, State:done, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:06.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.245 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=105] [conn=2] [job="ID:105, Type:create schema, State:synced, SchemaState:public, SchemaID:104, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.247 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:06.247 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.248 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/06 10:43:06.248 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=52] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [user=] [2024/05/06 10:43:06.250 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.250 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [2024/05/06 10:43:06.257 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=2] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.260 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=200.959Β΅s] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/06 10:43:06.261 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.027882ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=107] [conn=2] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.268 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 10:43:06.268 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.269 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=53] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/06 10:43:06.270 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=53] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/06 10:43:06.272 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.273 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/06 10:43:06.277 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=2] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.280 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=200.52Β΅s] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.281 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2024/05/06 10:43:06.282 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.307028ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.287 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=109] [conn=2] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.289 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 10:43:06.289 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.305 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=54] [cur_db=test_db_state] [sql="alter table t1 drop column b"] [user=] [2024/05/06 10:43:06.307 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.307 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 drop column b"] [2024/05/06 10:43:06.311 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [category=ddl] [job="ID:110, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.312 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.313 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=212.585Β΅s] [gotSchemaVersion=55] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/06 10:43:06.315 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.23457ms] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.316 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.317 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2446\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1462\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1298\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6169\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:508\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:549\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:334\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:105\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1543\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:494\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="delete from t1 where b=1"] [2024/05/06 10:43:06.322 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.322 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.323 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.324 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=181.551Β΅s] [gotSchemaVersion=56] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/06 10:43:06.327 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.84945ms] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.328 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.330 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.330 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.331 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.333 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=190.008Β΅s] [gotSchemaVersion=57] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.334 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/06 10:43:06.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=2.537148ms] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.336 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.339 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.339 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [category=ddl] [job="ID:110, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.339 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:110, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.341 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=174.499Β΅s] [gotSchemaVersion=58] [phyTblIDs="[106]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.342 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=58] [2024/05/06 10:43:06.343 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=2.250568ms] [job="ID:110, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.344 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.347 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=106] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/06 10:43:06.348 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="drop column"] [2024/05/06 10:43:06.348 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=110] [conn=2] [job="ID:110, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.351 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:110, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.351 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=74800000000000006a5f698000000000000001] [endKey=74800000000000006a5f698000000000000002] [2024/05/06 10:43:06.353 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 10:43:06.353 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.358 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:06.359 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/06 10:43:06.361 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.361 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/06 10:43:06.366 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=2] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.367 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:06.398 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=30.756583ms] [2024/05/06 10:43:06.404 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:06.405 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=59] [2024/05/06 10:43:06.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=38.236882ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.409 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=2] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.410 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=48.902Β΅s] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.412 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=60] [2024/05/06 10:43:06.412 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.024308ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.416 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=2] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.419 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=47.813Β΅s] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.420 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=61] [2024/05/06 10:43:06.421 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.402308ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.426 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[106]"] [comment="drop table: table ID"] [2024/05/06 10:43:06.430 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/06 10:43:06.431 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=111] [conn=2] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:106, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.433 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=74800000000000006a] [endKey=74800000000000006b] [2024/05/06 10:43:06.436 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 10:43:06.436 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.436 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [user=] [2024/05/06 10:43:06.439 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.439 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [2024/05/06 10:43:06.443 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=2] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=190.785Β΅s] [gotSchemaVersion=62] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=62] [2024/05/06 10:43:06.447 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.01148ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.452 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.438 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.463 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/06 10:43:06.463 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.466 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/06 10:43:06.469 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.469 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/06 10:43:06.477 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.480 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=99.087Β΅s] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.481 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63] [2024/05/06 10:43:06.483 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.800623ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.486 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.488 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=49.271Β΅s] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.489 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=64] [2024/05/06 10:43:06.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.006762ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [category=ddl] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:108, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.498 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=36.491Β΅s] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.499 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=65] [2024/05/06 10:43:06.500 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=2.222605ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.503 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[108]"] [comment="drop table: table ID"] [2024/05/06 10:43:06.504 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2024/05/06 10:43:06.504 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:108, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.468 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.508 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/06 10:43:06.508 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 10:43:06.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.509 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/06 10:43:06.511 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.511 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/06 10:43:06.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=116] [conn=2] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.522 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=346.601Β΅s] [gotSchemaVersion=66] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.524 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=66] [2024/05/06 10:43:06.526 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=4.487394ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.532 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/06 10:43:06.537 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.557 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=test_db_state] [sql="alter table t1 drop column b"] [user=] [2024/05/06 10:43:06.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 drop column b"] [2024/05/06 10:43:06.563 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [category=ddl] [job="ID:117, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.564 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.566 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=264.401Β΅s] [gotSchemaVersion=67] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.567 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=67] [2024/05/06 10:43:06.568 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=2.326998ms] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.571 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.571 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.572 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.573 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=171.936Β΅s] [gotSchemaVersion=68] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.574 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=68] [2024/05/06 10:43:06.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=2.064125ms] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.575 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.577 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2446\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1462\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1298\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6169\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:508\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:549\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:334\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:105\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1543\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:494\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="delete from t1 where b=1"] [2024/05/06 10:43:06.582 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.582 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.583 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.584 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=237.239Β΅s] [gotSchemaVersion=69] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.586 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=69] [2024/05/06 10:43:06.587 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=2.379852ms] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.587 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.590 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [category=ddl] [job="ID:117, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.591 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.592 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=154.794Β΅s] [gotSchemaVersion=70] [phyTblIDs="[112]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.593 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=70] [2024/05/06 10:43:06.594 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=2.038636ms] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.595 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.597 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=117] [tableID=112] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/06 10:43:06.598 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop column"] [2024/05/06 10:43:06.598 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.600 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.601 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=1] [startKey=7480000000000000705f698000000000000001] [endKey=7480000000000000705f698000000000000002] [2024/05/06 10:43:06.602 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 10:43:06.602 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.606 +00:00] [INFO] [set.go:170] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:06.607 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=test_db_state] [sql="drop table if exists t1"] [user=] [2024/05/06 10:43:06.609 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.609 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1"] [2024/05/06 10:43:06.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=2] [category=ddl] [job="ID:118, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.615 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=45.974Β΅s] [gotSchemaVersion=71] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=71] [2024/05/06 10:43:06.618 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=2.595439ms] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.622 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=2] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.623 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=28.499Β΅s] [gotSchemaVersion=72] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.624 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=72] [2024/05/06 10:43:06.626 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=2.690118ms] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=2] [category=ddl] [job="ID:118, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=35.393Β΅s] [gotSchemaVersion=73] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.633 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=73] [2024/05/06 10:43:06.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=2.575286ms] [job="ID:118, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.638 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=118] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/06 10:43:06.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="drop table"] [2024/05/06 10:43:06.639 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.608 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.641 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/06 10:43:06.643 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=118] [2024/05/06 10:43:06.643 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.644 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=test_db_state] [sql="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [user=] [2024/05/06 10:43:06.646 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.646 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t1(a bigint unsigned not null primary key, b int, c int, index idx(b));"] [2024/05/06 10:43:06.650 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=2] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.653 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=164.101Β΅s] [gotSchemaVersion=74] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.654 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=74] [2024/05/06 10:43:06.655 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=2.888994ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.661 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.645 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.663 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/06 10:43:06.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.664 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=test_db_state] [sql="drop table if exists t"] [user=] [2024/05/06 10:43:06.666 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.666 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t"] [2024/05/06 10:43:06.671 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [category=ddl] [job="ID:121, Type:drop table, State:queueing, SchemaState:public, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.673 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=57.922Β΅s] [gotSchemaVersion=75] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.674 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=75] [2024/05/06 10:43:06.675 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=2.026179ms] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:115, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.678 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:write only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.680 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=34.678Β΅s] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=76] [2024/05/06 10:43:06.682 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=2.032818ms] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.687 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [category=ddl] [job="ID:121, Type:drop table, State:running, SchemaState:delete only, SchemaID:104, TableID:115, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.689 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=29.382Β΅s] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:06.690 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=77] [2024/05/06 10:43:06.691 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=2.565336ms] [job="ID:121, Type:drop table, State:done, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.695 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=121] [tableIDs="[115]"] [comment="drop table: table ID"] [2024/05/06 10:43:06.696 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="drop table"] [2024/05/06 10:43:06.696 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:drop table, State:synced, SchemaState:none, SchemaID:104, TableID:115, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.700 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=748000000000000073] [endKey=748000000000000074] [2024/05/06 10:43:06.701 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/06 10:43:06.701 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=test_db_state] [sql="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [user=] [2024/05/06 10:43:06.704 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.704 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t \tc1 varchar(64),\n\t \tc2 enum('N','Y') not null default 'N',\n\t \tc3 timestamp on update current_timestamp,\n\t \tc4 int primary key,\n\t \tunique key idx2 (c2))"] [2024/05/06 10:43:06.710 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:104, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=343.423Β΅s] [gotSchemaVersion=78] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:06.715 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2024/05/06 10:43:06.717 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=4.399382ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:104, TableID:122, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.723 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:104, TableID:122, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.726 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=123] [2024/05/06 10:43:06.726 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.744 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=test_db_state] [sql="alter table t1 drop column b"] [user=] [2024/05/06 10:43:06.747 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:06.747 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t1 drop column b"] [2024/05/06 10:43:06.753 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=2] [category=ddl] [job="ID:124, Type:drop column, State:queueing, SchemaState:public, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.753 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=295.997Β΅s] [gotSchemaVersion=79] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2024/05/06 10:43:06.757 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=2.511032ms] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.758 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.761 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.761 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=2] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:write only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.762 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.763 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=172.712Β΅s] [gotSchemaVersion=80] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.764 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2024/05/06 10:43:06.766 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.668437ms] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.770 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.770 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=2] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete only, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.771 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.772 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=250.876Β΅s] [gotSchemaVersion=81] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=81] [2024/05/06 10:43:06.774 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.115529ms] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.775 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.776 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[planner:1054]Unknown column 'b' in 'where clause'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'where clause'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).toColumn\n\tpkg/planner/core/expression_rewriter.go:2446\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1462\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnName).Accept\n\tpkg/parser/ast/expressions.go:534\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:607\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:211\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:302\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:241\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:208\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSelection\n\tpkg/planner/core/logical_plan_builder.go:1298\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildDelete\n\tpkg/planner/core/logical_plan_builder.go:6169\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:508\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:549\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:334\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:105\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).Execute\n\tpkg/session/session.go:1543\ngithub.com/pingcap/tidb/pkg/ddl_test.runTestInSchemaState.func1\n\tpkg/ddl/db_change_test.go:809\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated\n\tpkg/ddl/util/callback/callback.go:124\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:494\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="delete from t1 where b=1"] [2024/05/06 10:43:06.781 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=2] [category=ddl] [job="ID:124, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:104, TableID:119, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.782 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=225.255Β΅s] [gotSchemaVersion=82] [phyTblIDs="[119]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:06.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=82] [2024/05/06 10:43:06.786 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=2.270089ms] [job="ID:124, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.786 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:drop column, State:done, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.789 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=119] [indexIDs="[1]"] [comment="drop column: table ID"] [2024/05/06 10:43:06.790 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop column"] [2024/05/06 10:43:06.790 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 16, tp general"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.793 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:drop column, State:synced, SchemaState:none, SchemaID:104, TableID:119, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:06.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:06.794 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=7480000000000000775f698000000000000001] [endKey=7480000000000000775f698000000000000002] [2024/05/06 10:43:06.795 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 10:43:06.795 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:06.799 +00:00] [INFO] [set.go:170] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:06.800 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:06.800 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 20, tp add index"] [category=ddl] ["take time"=2.199Β΅s] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 17, tp add index"] [category=ddl] ["take time"=1.598Β΅s] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 18, tp add index"] [category=ddl] ["take time"=1.442Β΅s] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 19, tp add index"] [category=ddl] ["take time"=1.341Β΅s] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 16, tp general"] [category=ddl] ["take time"=1.213Β΅s] [2024/05/06 10:43:06.801 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:06.801 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:06.801 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:06.802 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] ["take time"=1.605593ms] [2024/05/06 10:43:06.802 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] [2024/05/06 10:43:06.802 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:06.802 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:06.802 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:06.802 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:06.802 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:06.803 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:06.803 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=96649bd9-3e9f-417b-ab5e-333679861566] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:06.803 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:06.803 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:06.804 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.190502ms] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:06.824 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSchemaChangeForDropColumnWithIndexes (2.42s) === RUN TestIssue5092 [2024/05/06 10:43:06.978 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:06.978 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:06.978 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:06.979 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:06.979 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:06.979 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:06.981 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=cb936bb4-6db1-4731-891c-024832efb6cb] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:06.989 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:06.989 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:262\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:07.017 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=27.477889ms] [2024/05/06 10:43:07.018 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:07.018 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=7435d3ca-9606-4cad-9bc9-f5256ac76d64] [runWorker=true] [2024/05/06 10:43:07.019 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:07.019 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:07.019 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:07.019 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:07.019 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:07.019 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:07.019 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:07.019 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:07.020 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:07.022 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:07.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.022 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:07.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:07.029 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.051 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=20.044208ms] [2024/05/06 10:43:07.052 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:07.054 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.054 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:07.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=25.077486ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:07.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.061 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.021 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.064 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:07.064 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.065 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:07.066 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:07.071 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.071 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:07.078 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.144477ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.088 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:07.092 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=6.33376ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.099 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.106 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:07.106 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.106 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.106 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:07.110 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.110 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:07.116 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.120 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=288.839Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.121 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.121 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:07.121 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.099501ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.130 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.108 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.133 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:07.133 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.133 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.134 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:07.136 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.136 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:07.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.148 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=212.013Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.149 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:07.164 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=15.957381ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.169 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.172 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:07.172 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.173 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:07.177 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.177 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:07.186 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.191 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=648.468Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.192 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.192 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:07.195 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.397691ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.200 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.205 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:07.205 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.205 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:07.208 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.208 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:07.214 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.218 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=434.928Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.219 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:07.219 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.093038ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.229 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.207 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.233 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:07.233 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.234 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:07.237 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.237 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:07.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.247 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=423.985Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.249 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:07.260 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=13.039502ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.236 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.268 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:07.269 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.269 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:07.271 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.272 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:07.281 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=272.303Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.288 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.288 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:07.288 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.053396ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.294 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.27 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.297 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:07.297 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.297 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:07.303 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:07.310 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=193.643Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.313 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:07.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.425805ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.319 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.299 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.322 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:07.322 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.330 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:07.333 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.333 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:07.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.343 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=235.2Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.344 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.344 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:07.345 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.952595ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.351 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.331 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.355 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:07.355 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.355 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.355 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.355 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.356 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:07.358 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.359 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:07.365 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.368 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=383.791Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.370 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.370 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:07.372 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.904152ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.381 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.384 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:07.384 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.387 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:07.387 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.389 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.390 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:07.395 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.399 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=378.587Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.401 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.401 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:07.402 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.945044ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.408 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.388 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.414 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:07.414 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.415 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:07.418 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.419 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:07.426 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.432 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=401.445Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:07.437 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=5.076485ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.442 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.446 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:07.446 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.447 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:07.450 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.450 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:07.455 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.458 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=222.668Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.459 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.459 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:07.460 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.873957ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.464 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.467 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:07.467 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.468 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:07.471 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.471 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:07.476 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.480 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=280.457Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.481 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.481 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:07.481 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.068252ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.487 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.469 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.490 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:07.490 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.491 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:07.493 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.493 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:07.500 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=259.462Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.503 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:07.504 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.490308ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.510 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.492 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.512 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:07.512 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.513 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:07.515 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.515 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:07.523 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.526 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=240.225Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.527 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.527 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:07.528 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.109083ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.535 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:07.537 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.538 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:07.541 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.541 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:07.549 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=211.596Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.552 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.552 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:07.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.448987ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.560 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.563 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:07.563 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.564 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:07.567 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.567 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:07.574 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.579 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=431.196Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.580 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:07.581 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.470013ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.586 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:07.590 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.590 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:07.594 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.594 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:07.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.604 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=321.044Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.605 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.605 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:07.606 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.233834ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.612 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.615 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:07.615 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.616 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:07.619 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.619 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:07.626 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.629 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=253.499Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.630 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:07.631 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.108582ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.635 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.639 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:07.639 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.639 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:07.641 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.641 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:07.649 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=178.068Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.652 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:07.653 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.249564ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.657 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.660 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:07.660 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.661 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:07.663 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.663 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:07.671 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.676 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=407.004Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.677 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.677 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:07.678 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.121905ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.684 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.662 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.688 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:07.688 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.688 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:07.692 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.692 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:07.699 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.702 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=324.55Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.704 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.704 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:07.706 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=4.256101ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.712 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.69 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.715 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:07.715 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.715 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:07.718 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.718 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:07.726 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.729 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=309.439Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.730 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.731 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:07.731 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.062662ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.736 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.740 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:07.740 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.740 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:07.744 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.744 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:07.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.756 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=298.687Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.757 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:07.758 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.71563ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.765 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.742 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.768 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:07.768 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.769 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:07.772 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.772 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:07.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.785 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=342.404Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.786 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.786 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:07.788 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=4.354616ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.798 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.771 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.802 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:07.802 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.803 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:07.806 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.806 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:07.815 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=209.098Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.820 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:07.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.148567ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.829 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:07.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.833 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:07.834 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.836 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.836 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:07.844 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.848 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=240.337Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.849 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.849 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:07.849 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.032278ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.854 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.835 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.858 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:07.858 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.858 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:07.861 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.861 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:07.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.874 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=370.317Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.875 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.875 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:07.879 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=5.294966ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.885 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.889 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:07.889 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.890 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:07.894 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.894 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:07.903 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.907 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=387.572Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.908 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.908 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:07.911 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=4.653993ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.917 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:07.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:07.935 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.935 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:07.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.947 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=465.071Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.949 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.949 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:07.949 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.032392ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.954 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.931 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.959 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:07.959 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.959 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.959 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:07.960 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:07.962 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.963 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:07.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=218.429Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:07.976 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:07.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:07.977 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=4.073954ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:07.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.990 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:07.994 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:07.994 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:07.998 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:07.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:07.998 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:07.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:08.004 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.008 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=288.811Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:08.010 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:08.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.364296ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:07.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.016 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:07.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.020 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:08.020 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:08.021 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:08.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.021 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:08.025 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.025 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:08.032 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.035 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=334.456Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.037 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.037 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:08.037 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.050615ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.042 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.023 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.046 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:08.046 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.046 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.046 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.046 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:08.049 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.049 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:08.058 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.061 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=292.571Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.063 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.063 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:08.064 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=3.06534ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.069 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.073 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:08.073 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.074 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:08.077 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.077 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:08.088 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.091 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=329.887Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.092 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.092 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:08.094 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=3.000797ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.100 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.075 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.107 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:08.107 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.108 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:08.112 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.112 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:08.120 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=614.237Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.140 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.140 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:08.141 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.560571ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.149 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.157 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:08.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.157 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.157 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.157 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.158 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:08.163 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.163 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:08.174 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.180 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=581.634Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.181 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:08.184 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.964889ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.191 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.200 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:08.200 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.200 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.201 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:08.205 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.205 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:08.214 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.220 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=596.784Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.221 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.222 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:08.223 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.234821ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.235 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.241 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:08.241 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.241 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.241 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:08.247 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.247 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:08.257 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=499.816Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.264 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.264 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:08.267 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=5.38408ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.282 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:08.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.283 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:08.286 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.286 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:08.299 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.305 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=529.925Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.307 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.307 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:08.309 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.383096ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.316 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.320 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:08.321 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.321 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:08.336 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.336 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:08.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.349 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=557.51Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.351 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.351 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:08.353 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.985051ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.361 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.323 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.365 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:08.365 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.365 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.365 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.365 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.366 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:08.370 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.370 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:08.379 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.383 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=362.535Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.385 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.385 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:08.385 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.167884ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.393 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.368 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.401 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:08.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.402 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.403 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:08.407 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:08.407 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.422 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=409.868Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.423 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.423 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:08.426 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.777373ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.432 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.436 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:08.436 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.436 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.436 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.436 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:08.445 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.445 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:08.454 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=721.521Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.461 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.461 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:08.463 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.605651ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.470 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.475 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:08.475 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.476 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:08.480 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.480 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:08.490 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.495 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=446.799Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.497 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.497 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:08.499 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.393831ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.505 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.510 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:08.510 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.511 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:08.511 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:08.514 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.514 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:08.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.524 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=308.881Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.525 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.525 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:08.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.01748ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.534 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.513 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:08.538 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.538 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:08.541 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.541 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:08.548 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.552 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=366.756Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:08.554 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.554 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:08.557 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.874717ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.563 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.567 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:08.567 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.567 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:08.570 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:08.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.570 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:08.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:08.578 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=67.995Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:08.582 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.582 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:08.583 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=3.060563ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:08.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.590 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.593 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:08.593 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.598 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:08.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.598 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:08.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:08.606 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.610 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=275.004Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:08.611 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:08.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:08.612 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.290799ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:08.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.618 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 21, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.596 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.622 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:08.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.653 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.634485288s] [2024/05/06 10:43:08.654 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=7435d3ca-9606-4cad-9bc9-f5256ac76d64] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 23, tp add index"] [category=ddl] ["take time"=3.265Β΅s] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 24, tp add index"] [category=ddl] ["take time"=1.329Β΅s] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 25, tp add index"] [category=ddl] ["take time"=1.111Β΅s] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 22, tp add index"] [category=ddl] ["take time"=1.07Β΅s] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 21, tp general"] [category=ddl] ["take time"=1.345Β΅s] [2024/05/06 10:43:08.654 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:08.654 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:08.654 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:08.657 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=7435d3ca-9606-4cad-9bc9-f5256ac76d64] ["take time"=3.26822ms] [2024/05/06 10:43:08.657 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=7435d3ca-9606-4cad-9bc9-f5256ac76d64] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:08.657 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:08.657 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.546867ms] [2024/05/06 10:43:08.657 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=cb936bb4-6db1-4731-891c-024832efb6cb] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:08.665 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:08.697 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=32.193344ms] [2024/05/06 10:43:08.703 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:08.703 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [runWorker=true] [2024/05/06 10:43:08.703 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:08.703 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:08.703 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:08.703 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:08.703 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:08.703 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:08.703 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:08.712 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:08.712 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:08.729 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:08.733 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:08.735 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:08.735 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:08.735 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:08.735 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:08.736 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:08.737 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:08.738 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:08.738 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:08.741 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:08.743 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=51] [cur_db=test] [sql="create table t_issue_5092 (a int)"] [user=] [2024/05/06 10:43:08.744 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:08.744 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:08.746 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:08.747 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_issue_5092 (a int)"] [2024/05/06 10:43:08.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=6] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.757 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=false) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=false) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:08.770 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=12.180244ms] [2024/05/06 10:43:08.770 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:08.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:08.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=14.815593ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:08.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.777 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=105] [conn=6] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:08.780 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:08.780 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.781 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=52] [cur_db=test] [sql="alter table t_issue_5092 add column (b int, c int)"] [user=] [2024/05/06 10:43:08.784 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:08.784 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column (b int, c int)"] [2024/05/06 10:43:08.791 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.791 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"b\",\"L\":\"b\"},\"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 10:43:08.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=184.569Β΅s] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 10:43:08.795 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.149674ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=188.463Β΅s] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.803 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 10:43:08.804 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.904578ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.812 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=189.745Β΅s] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.816 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 10:43:08.817 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.500138ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.821 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:08.824 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=215.572Β΅s] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.825 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/06 10:43:08.825 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.03265ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.830 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.833 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=232.789Β΅s] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.834 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/06 10:43:08.856 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=23.294327ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=175.602Β΅s] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.871 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/06 10:43:08.873 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=3.464148ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.880 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:08.881 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:08.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=227.287Β΅s] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:08.885 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=59] [2024/05/06 10:43:08.885 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=2.045263ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.891 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:08.896 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=106] [conn=6] [job="ID:106, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.902 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 10:43:08.902 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:08.902 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=59] [cur_db=test] [sql="alter table t_issue_5092 add column if not exists (b int, c int)"] [user=] [2024/05/06 10:43:08.903 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=59] [cur_db=test] [sql="alter table t_issue_5092 add column b1 int after b, add column c1 int after c"] [user=] [2024/05/06 10:43:08.908 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:08.908 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column b1 int after b, add column c1 int after c"] [2024/05/06 10:43:08.916 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.916 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":4,\"name\":{\"O\":\"b1\",\"L\":\"b1\"},\"offset\":3,\"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 10:43:08.919 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=311.406Β΅s] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.921 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=60] [2024/05/06 10:43:08.921 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=2.093733ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.927 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=186.519Β΅s] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=61] [2024/05/06 10:43:08.932 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=2.626588ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=247.805Β΅s] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.941 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=62] [2024/05/06 10:43:08.942 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=2.015273ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.950 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:08.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=246.71Β΅s] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=63] [2024/05/06 10:43:08.954 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=2.54751ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=213.537Β΅s] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=64] [2024/05/06 10:43:08.968 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=2.587549ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.973 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:08.975 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=188.317Β΅s] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:08.978 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=65] [2024/05/06 10:43:08.980 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=4.58709ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.985 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:08.986 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [category=ddl] [job="ID:107, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:08.988 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=250.055Β΅s] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:08.990 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=66] [2024/05/06 10:43:08.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=2.016144ms] [job="ID:107, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:08.996 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=107] [2024/05/06 10:43:09.002 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=107] [conn=6] [job="ID:107, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:08.907 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.005 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 10:43:09.005 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.006 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=66] [cur_db=test] [sql="alter table t_issue_5092 add column d int after b, add column e int first, add column f int after c1, add column g int, add column h int first"] [user=] [2024/05/06 10:43:09.009 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.009 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column d int after b, add column e int first, add column f int after c1, add column g int, add column h int first"] [2024/05/06 10:43:09.018 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.019 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":6,\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:09.021 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=256.848Β΅s] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=67] [2024/05/06 10:43:09.023 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=2.021631ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=195.41Β΅s] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=68] [2024/05/06 10:43:09.033 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=2.869546ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=244.062Β΅s] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=69] [2024/05/06 10:43:09.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=5.354582ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.051 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":7,\"name\":{\"O\":\"e\",\"L\":\"e\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:09.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=315.31Β΅s] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.055 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=70] [2024/05/06 10:43:09.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=2.056309ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.061 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=262.657Β΅s] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.066 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=71] [2024/05/06 10:43:09.066 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=2.543221ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.070 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.073 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=286.961Β΅s] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.075 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=72] [2024/05/06 10:43:09.076 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=2.992162ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.080 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.080 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":8,\"name\":{\"O\":\"f\",\"L\":\"f\"},\"offset\":7,\"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 10:43:09.085 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=216.499Β΅s] [gotSchemaVersion=73] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.086 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=73] [2024/05/06 10:43:09.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=2.413195ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.092 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.095 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=265.06Β΅s] [gotSchemaVersion=74] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.096 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=74] [2024/05/06 10:43:09.097 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=2.740891ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.102 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.105 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=306.896Β΅s] [gotSchemaVersion=75] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.107 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=75] [2024/05/06 10:43:09.107 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=2.59803ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.113 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":9,\"name\":{\"O\":\"g\",\"L\":\"g\"},\"offset\":8,\"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 10:43:09.116 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=358.41Β΅s] [gotSchemaVersion=76] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=76] [2024/05/06 10:43:09.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=2.031072ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=240.184Β΅s] [gotSchemaVersion=77] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.126 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=77] [2024/05/06 10:43:09.126 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=2.077751ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.131 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.134 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=326.817Β΅s] [gotSchemaVersion=78] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.136 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=78] [2024/05/06 10:43:09.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=4.292926ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.143 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.143 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":10,\"name\":{\"O\":\"h\",\"L\":\"h\"},\"offset\":9,\"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 10:43:09.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=928.284Β΅s] [gotSchemaVersion=79] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.159 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=79] [2024/05/06 10:43:09.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=6.504497ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.177 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.181 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=212.956Β΅s] [gotSchemaVersion=80] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.182 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=80] [2024/05/06 10:43:09.183 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=2.890394ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.188 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.192 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=304.007Β΅s] [gotSchemaVersion=81] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.193 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=81] [2024/05/06 10:43:09.193 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.022821ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.202 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.202 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [category=ddl] [job="ID:108, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.206 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=427.562Β΅s] [gotSchemaVersion=82] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:09.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=82] [2024/05/06 10:43:09.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=4.488182ms] [job="ID:108, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.217 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=108] [2024/05/06 10:43:09.225 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=108] [conn=6] [job="ID:108, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.230 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 10:43:09.230 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.231 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=82] [cur_db=test] [sql="alter table t_issue_5092 add column if not exists d int, add column d int"] [user=] [2024/05/06 10:43:09.231 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:09.231 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=82] [error="[schema:1060]Duplicate column name 'd'"] [errorVerbose="[schema:1060]Duplicate column name 'd'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkAndCreateNewColumn\n\tpkg/ddl/ddl_api.go:4255\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4370\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:287\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:09.232 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=82] [cur_db=test] [sql="alter table t_issue_5092 add column dd int, add column if not exists dd int"] [user=] [2024/05/06 10:43:09.232 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:09.232 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=82] [error="[ddl:8200]Unsupported operate same column 'dd'"] [errorVerbose="[ddl:8200]Unsupported operate same column 'dd'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx.func1\n\tpkg/ddl/multi_schema_change.go:329\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx\n\tpkg/ddl/multi_schema_change.go:351\ngithub.com/pingcap/tidb/pkg/ddl.checkMultiSchemaInfo\n\tpkg/ddl/multi_schema_change.go:457\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:60\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:288\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:09.233 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=82] [cur_db=test] [sql="alter table t_issue_5092 add column if not exists (d int, e int), add column ff text"] [user=] [2024/05/06 10:43:09.239 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.239 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column if not exists (d int, e int), add column ff text"] [2024/05/06 10:43:09.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.244 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":11,\"name\":{\"O\":\"ff\",\"L\":\"ff\"},\"offset\":10,\"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 10:43:09.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=241.442Β΅s] [gotSchemaVersion=83] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=83] [2024/05/06 10:43:09.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=2.030119ms] [job="ID:109, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.254 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=414.313Β΅s] [gotSchemaVersion=84] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.259 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=84] [2024/05/06 10:43:09.261 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=4.24469ms] [job="ID:109, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.268 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.271 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=330.556Β΅s] [gotSchemaVersion=85] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.272 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=85] [2024/05/06 10:43:09.273 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=2.357879ms] [job="ID:109, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.279 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=6] [category=ddl] [job="ID:109, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.283 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=423.892Β΅s] [gotSchemaVersion=86] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.285 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=86] [2024/05/06 10:43:09.287 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=4.678079ms] [job="ID:109, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.295 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=109] [2024/05/06 10:43:09.301 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=109] [conn=6] [job="ID:109, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.305 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 10:43:09.305 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.305 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:09.305 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=86] [cur_db=test] [sql="alter table t_issue_5092 add column b2 int after b1, add column c2 int first"] [user=] [2024/05/06 10:43:09.308 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.308 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column b2 int after b1, add column c2 int first"] [2024/05/06 10:43:09.320 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.320 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":12,\"name\":{\"O\":\"b2\",\"L\":\"b2\"},\"offset\":11,\"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 10:43:09.323 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=413.834Β΅s] [gotSchemaVersion=87] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=87] [2024/05/06 10:43:09.325 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=2.085275ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.329 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.332 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=88] ["start time"=241.863Β΅s] [gotSchemaVersion=88] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.333 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=88] [2024/05/06 10:43:09.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=2.904994ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.343 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=88] [neededSchemaVersion=89] ["start time"=426.294Β΅s] [gotSchemaVersion=89] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.345 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=89] [2024/05/06 10:43:09.345 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=2.010471ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.350 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.350 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":13,\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":12,\"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 10:43:09.353 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=376.887Β΅s] [gotSchemaVersion=90] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.355 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=90] [2024/05/06 10:43:09.357 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=4.088463ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.364 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.368 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=333.53Β΅s] [gotSchemaVersion=91] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.369 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=91] [2024/05/06 10:43:09.369 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=2.129221ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.375 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.379 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=430.282Β΅s] [gotSchemaVersion=92] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.381 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=92] [2024/05/06 10:43:09.381 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=2.279129ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.386 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [category=ddl] [job="ID:110, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.391 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=337.877Β΅s] [gotSchemaVersion=93] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:09.393 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=93] [2024/05/06 10:43:09.396 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=5.039974ms] [job="ID:110, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.405 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/06 10:43:09.411 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=110] [conn=6] [job="ID:110, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.416 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 10:43:09.416 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.417 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=93] [cur_db=test] [sql="drop table t_issue_5092"] [user=] [2024/05/06 10:43:09.419 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:09.419 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t_issue_5092"] [2024/05/06 10:43:09.431 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=111] [conn=6] [category=ddl] [job="ID:111, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.433 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=38.975Β΅s] [gotSchemaVersion=94] [phyTblIDs="[104]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.435 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=94] [2024/05/06 10:43:09.436 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=2.561021ms] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.441 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=111] [conn=6] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=49.589Β΅s] [gotSchemaVersion=95] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.446 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=95] [2024/05/06 10:43:09.447 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=2.889704ms] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.452 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=111] [conn=6] [category=ddl] [job="ID:111, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.456 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=43.356Β΅s] [gotSchemaVersion=96] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.457 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=96] [2024/05/06 10:43:09.458 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=2.06864ms] [job="ID:111, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.465 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=111] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/06 10:43:09.466 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=111] [jobType="drop table"] [2024/05/06 10:43:09.467 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=111] [conn=6] [job="ID:111, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:09.418 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.471 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=111] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/06 10:43:09.473 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 10:43:09.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.474 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=96] [cur_db=test] [sql="create table t_issue_5092 (a int default 1)"] [user=] [2024/05/06 10:43:09.477 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:09.477 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_issue_5092 (a int default 1)"] [2024/05/06 10:43:09.484 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=113] [conn=6] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.487 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=146.314Β΅s] [gotSchemaVersion=97] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:09.489 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=97] [2024/05/06 10:43:09.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=2.492081ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.495 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=113] [conn=6] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.498 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/06 10:43:09.498 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.498 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=97] [cur_db=test] [sql="alter table t_issue_5092 add column (b int default 2, c int default 3)"] [user=] [2024/05/06 10:43:09.501 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.501 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column (b int default 2, c int default 3)"] [2024/05/06 10:43:09.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.512 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"b\",\"L\":\"b\"},\"offset\":1,\"origin_default\":\"2\",\"origin_default_bit\":null,\"default\":\"2\",\"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 10:43:09.514 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=185.962Β΅s] [gotSchemaVersion=98] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=98] [2024/05/06 10:43:09.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=2.060797ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.527 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.530 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=200.231Β΅s] [gotSchemaVersion=99] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.532 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=99] [2024/05/06 10:43:09.532 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=2.366205ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.542 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.552 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=233.151Β΅s] [gotSchemaVersion=100] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.554 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=100] [2024/05/06 10:43:09.554 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=2.095099ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.564 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.565 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":\"3\",\"origin_default_bit\":null,\"default\":\"3\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:09.567 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=236.031Β΅s] [gotSchemaVersion=101] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.569 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=101] [2024/05/06 10:43:09.570 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=2.68533ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.577 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=209.204Β΅s] [gotSchemaVersion=102] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.581 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=102] [2024/05/06 10:43:09.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=2.074831ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.587 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.591 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=211.361Β΅s] [gotSchemaVersion=103] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.592 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=103] [2024/05/06 10:43:09.593 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=2.721377ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.599 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.600 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [category=ddl] [job="ID:114, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.603 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=243.038Β΅s] [gotSchemaVersion=104] [phyTblIDs="[112]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:09.604 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=104] [2024/05/06 10:43:09.604 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=2.236074ms] [job="ID:114, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.617 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:43:09.624 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=114] [conn=6] [job="ID:114, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.628 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 10:43:09.628 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.629 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=104] [cur_db=test] [sql="alter table t_issue_5092 add column b1 int default 22 after b, add column c1 int default 33 after c"] [user=] [2024/05/06 10:43:09.635 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.635 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column b1 int default 22 after b, add column c1 int default 33 after c"] [2024/05/06 10:43:09.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.645 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":4,\"name\":{\"O\":\"b1\",\"L\":\"b1\"},\"offset\":3,\"origin_default\":\"22\",\"origin_default_bit\":null,\"default\":\"22\",\"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 10:43:09.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=290.95Β΅s] [gotSchemaVersion=105] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=105] [2024/05/06 10:43:09.651 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=4.471309ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.656 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.659 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=237.191Β΅s] [gotSchemaVersion=106] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.660 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=106] [2024/05/06 10:43:09.660 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=2.111957ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.668 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=226.176Β΅s] [gotSchemaVersion=107] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.670 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=107] [2024/05/06 10:43:09.671 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=3.00275ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.676 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":4,\"origin_default\":\"33\",\"origin_default_bit\":null,\"default\":\"33\",\"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 10:43:09.678 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=170.22Β΅s] [gotSchemaVersion=108] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.679 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=108] [2024/05/06 10:43:09.681 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=2.830961ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=183.921Β΅s] [gotSchemaVersion=109] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.688 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=109] [2024/05/06 10:43:09.689 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=2.631893ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=178.855Β΅s] [gotSchemaVersion=110] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.697 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=110] [2024/05/06 10:43:09.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=2.03211ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.702 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.703 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [category=ddl] [job="ID:115, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.705 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:09.705 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:09.706 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=226.214Β΅s] [gotSchemaVersion=111] [phyTblIDs="[112]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:09.707 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=111] [2024/05/06 10:43:09.707 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=2.110885ms] [job="ID:115, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.715 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/06 10:43:09.720 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=115] [conn=6] [job="ID:115, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.63 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.723 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=115] [2024/05/06 10:43:09.723 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.726 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=111] [cur_db=test] [sql="alter table t_issue_5092 add column d int default 4 after c1, add column aa int default 0 first"] [user=] [2024/05/06 10:43:09.728 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.728 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column d int default 4 after c1, add column aa int default 0 first"] [2024/05/06 10:43:09.734 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.734 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":6,\"name\":{\"O\":\"d\",\"L\":\"d\"},\"offset\":5,\"origin_default\":\"4\",\"origin_default_bit\":null,\"default\":\"4\",\"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 10:43:09.737 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=312.845Β΅s] [gotSchemaVersion=112] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.738 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=112] [2024/05/06 10:43:09.739 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=2.463929ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.739 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 10:43:09.739 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 10:43:09.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.745 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/06 10:43:09.747 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=279.034Β΅s] [gotSchemaVersion=113] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.747 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/06 10:43:09.747 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 10:43:09.747 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/06 10:43:09.747 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/06 10:43:09.748 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=113] [2024/05/06 10:43:09.749 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=2.473061ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.754 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=299.6Β΅s] [gotSchemaVersion=114] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=114] [2024/05/06 10:43:09.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=2.164369ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.763 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.764 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":7,\"name\":{\"O\":\"aa\",\"L\":\"aa\"},\"offset\":6,\"origin_default\":\"0\",\"origin_default_bit\":null,\"default\":\"0\",\"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 10:43:09.766 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=115] ["start time"=259.646Β΅s] [gotSchemaVersion=115] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.767 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=115] [2024/05/06 10:43:09.769 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=2.736629ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.773 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.776 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=115] [neededSchemaVersion=116] ["start time"=285.281Β΅s] [gotSchemaVersion=116] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.777 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=116] [2024/05/06 10:43:09.778 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=2.629318ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.784 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.787 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=282.141Β΅s] [gotSchemaVersion=117] [phyTblIDs="[112]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.789 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=117] [2024/05/06 10:43:09.789 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=2.385644ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.797 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [category=ddl] [job="ID:116, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:09.800 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=304.759Β΅s] [gotSchemaVersion=118] [phyTblIDs="[112]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:09.802 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=118] [2024/05/06 10:43:09.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=2.011139ms] [job="ID:116, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.820 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:43:09.835 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=116] [conn=6] [job="ID:116, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.727 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.840 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=116] [2024/05/06 10:43:09.840 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.842 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=118] [cur_db=test] [sql="drop table t_issue_5092"] [user=] [2024/05/06 10:43:09.844 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:09.844 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t_issue_5092"] [2024/05/06 10:43:09.853 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=117] [conn=6] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.856 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=61.521Β΅s] [gotSchemaVersion=119] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.858 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=119] [2024/05/06 10:43:09.859 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=2.473951ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.869 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=117] [conn=6] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.871 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=59.182Β΅s] [gotSchemaVersion=120] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.873 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=120] [2024/05/06 10:43:09.874 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=2.752363ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.879 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=117] [conn=6] [category=ddl] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=66.531Β΅s] [gotSchemaVersion=121] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:09.884 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=117] [version=121] [2024/05/06 10:43:09.885 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=2.853196ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.891 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[112]"] [comment="drop table: table ID"] [2024/05/06 10:43:09.892 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2024/05/06 10:43:09.892 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:09.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.900 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=117] [elementID=1] [startKey=748000000000000070] [endKey=748000000000000071] [2024/05/06 10:43:09.901 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=117] [2024/05/06 10:43:09.901 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.902 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=121] [cur_db=test] [sql="create table t_issue_5092 (a int)"] [user=] [2024/05/06 10:43:09.906 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:09.906 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_issue_5092 (a int)"] [2024/05/06 10:43:09.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=119] [conn=6] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.918 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=245.741Β΅s] [gotSchemaVersion=122] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:09.919 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=122] [2024/05/06 10:43:09.920 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=2.406895ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:09.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.931 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=119] [conn=6] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.904 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:09.936 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=119] [2024/05/06 10:43:09.936 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:09.936 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=122] [cur_db=test] [sql="alter table t_issue_5092 add column (b int, c int)"] [user=] [2024/05/06 10:43:09.940 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:09.940 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column (b int, c int)"] [2024/05/06 10:43:09.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.956 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"b\",\"L\":\"b\"},\"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 10:43:09.959 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=291.248Β΅s] [gotSchemaVersion=123] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=123] [2024/05/06 10:43:09.962 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=4.019203ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.971 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.975 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=243.659Β΅s] [gotSchemaVersion=124] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.976 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=124] [2024/05/06 10:43:09.977 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=3.080243ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.984 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.987 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=327.193Β΅s] [gotSchemaVersion=125] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:09.989 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=125] [2024/05/06 10:43:09.989 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=2.487473ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:09.996 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:09.996 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:10.000 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=279.5Β΅s] [gotSchemaVersion=126] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.001 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=126] [2024/05/06 10:43:10.004 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=4.474664ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.018 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.022 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=278.436Β΅s] [gotSchemaVersion=127] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.027 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=127] [2024/05/06 10:43:10.028 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=6.647634ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.037 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.040 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=267.161Β΅s] [gotSchemaVersion=128] [phyTblIDs="[118]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.041 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=128] [2024/05/06 10:43:10.043 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=3.015229ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.049 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.050 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [category=ddl] [job="ID:120, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.053 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=290.185Β΅s] [gotSchemaVersion=129] [phyTblIDs="[118]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:10.054 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=129] [2024/05/06 10:43:10.054 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=2.034846ms] [job="ID:120, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.069 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=120] [2024/05/06 10:43:10.075 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=120] [conn=6] [job="ID:120, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:09.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.079 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=120] [2024/05/06 10:43:10.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.080 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=129] [cur_db=test] [sql="alter table t_issue_5092 drop column b,drop column c"] [user=] [2024/05/06 10:43:10.083 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:10.083 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:121, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 drop column b,drop column c"] [2024/05/06 10:43:10.094 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.097 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/06 10:43:10.102 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.104 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/06 10:43:10.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.114 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=278.411Β΅s] [gotSchemaVersion=130] [phyTblIDs="[118]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:10.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=130] [2024/05/06 10:43:10.116 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=2.343622ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=329.937Β΅s] [gotSchemaVersion=131] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=131] [2024/05/06 10:43:10.140 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=2.53246ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.149 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=347.404Β΅s] [gotSchemaVersion=132] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.150 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=132] [2024/05/06 10:43:10.152 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=4.316956ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.167 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=219.575Β΅s] [gotSchemaVersion=133] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=133] [2024/05/06 10:43:10.172 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=2.263811ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=309.455Β΅s] [gotSchemaVersion=134] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.209 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=134] [2024/05/06 10:43:10.209 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=6.040669ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.219 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=212.75Β΅s] [gotSchemaVersion=135] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.220 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=135] [2024/05/06 10:43:10.224 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=5.531378ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.235 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [category=ddl] [job="ID:121, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.238 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=220.128Β΅s] [gotSchemaVersion=136] [phyTblIDs="[118]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:10.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=136] [2024/05/06 10:43:10.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=2.015504ms] [job="ID:121, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.251 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/06 10:43:10.267 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="alter table multi-schema change"] [2024/05/06 10:43:10.268 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.274 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=121] [2024/05/06 10:43:10.274 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.275 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=136] [cur_db=test] [sql="alter table t_issue_5092 drop column c, drop column c"] [user=] [2024/05/06 10:43:10.275 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:10.275 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=136] [error="[ddl:1091]Can't DROP 'c'; check that column/key exists"] [errorVerbose="[ddl:1091]Can't DROP 'c'; check that column/key exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkIsDroppableColumn\n\tpkg/ddl/ddl_api.go:5389\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5352\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:337\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:10.275 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=136] [cur_db=test] [sql="alter table t_issue_5092 drop column if exists b,drop column if exists c"] [user=] [2024/05/06 10:43:10.276 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=136] [cur_db=test] [sql="alter table t_issue_5092 drop column g, drop column d"] [user=] [2024/05/06 10:43:10.276 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:10.276 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=136] [error="[ddl:1091]Can't DROP 'g'; check that column/key exists"] [errorVerbose="[ddl:1091]Can't DROP 'g'; check that column/key exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkIsDroppableColumn\n\tpkg/ddl/ddl_api.go:5389\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5352\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:339\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:10.276 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=136] [cur_db=test] [sql="drop table t_issue_5092"] [user=] [2024/05/06 10:43:10.279 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:10.279 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:122, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t_issue_5092"] [2024/05/06 10:43:10.289 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=122] [conn=6] [category=ddl] [job="ID:122, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.292 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=100.301Β΅s] [gotSchemaVersion=137] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.293 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=137] [2024/05/06 10:43:10.293 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=2.020279ms] [job="ID:122, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.298 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=122] [conn=6] [category=ddl] [job="ID:122, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.311 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=94.156Β΅s] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.312 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=138] [2024/05/06 10:43:10.313 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=2.518053ms] [job="ID:122, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.324 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=122] [conn=6] [category=ddl] [job="ID:122, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.327 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=138] [neededSchemaVersion=139] ["start time"=78.871Β΅s] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.328 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=139] [2024/05/06 10:43:10.329 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=2.60963ms] [job="ID:122, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.335 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=122] [tableIDs="[118]"] [comment="drop table: table ID"] [2024/05/06 10:43:10.336 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="drop table"] [2024/05/06 10:43:10.337 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:10.278 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.340 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=1] [startKey=748000000000000076] [endKey=748000000000000077] [2024/05/06 10:43:10.343 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=122] [2024/05/06 10:43:10.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.343 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=139] [cur_db=test] [sql="create table t_issue_5092 (a int)"] [user=] [2024/05/06 10:43:10.347 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:10.347 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_issue_5092 (a int)"] [2024/05/06 10:43:10.358 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=124] [conn=6] [category=ddl] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.369 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=139] [neededSchemaVersion=140] ["start time"=237.033Β΅s] [gotSchemaVersion=140] [phyTblIDs="[123]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:10.372 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=140] [2024/05/06 10:43:10.373 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=4.248298ms] [job="ID:124, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.380 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.384 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 10:43:10.384 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.384 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=140] [cur_db=test] [sql="alter table t_issue_5092 add column (b int, c int)"] [user=] [2024/05/06 10:43:10.387 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:10.387 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:125, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_issue_5092 add column (b int, c int)"] [2024/05/06 10:43:10.399 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.399 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":2,\"name\":{\"O\":\"b\",\"L\":\"b\"},\"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 10:43:10.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=140] [neededSchemaVersion=141] ["start time"=249.595Β΅s] [gotSchemaVersion=141] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.403 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=141] [2024/05/06 10:43:10.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=2.051252ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.421 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=141] [neededSchemaVersion=142] ["start time"=223.523Β΅s] [gotSchemaVersion=142] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=142] [2024/05/06 10:43:10.423 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=2.919977ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.435 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=142] [neededSchemaVersion=143] ["start time"=273.156Β΅s] [gotSchemaVersion=143] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.441 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=143] [2024/05/06 10:43:10.443 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=4.280381ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.451 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.451 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:10.454 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=143] [neededSchemaVersion=144] ["start time"=313.725Β΅s] [gotSchemaVersion=144] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.456 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=144] [2024/05/06 10:43:10.458 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=4.32986ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.468 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.471 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=144] [neededSchemaVersion=145] ["start time"=239.553Β΅s] [gotSchemaVersion=145] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.473 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=145] [2024/05/06 10:43:10.474 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=2.554816ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:10.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=145] [neededSchemaVersion=146] ["start time"=388.483Β΅s] [gotSchemaVersion=146] [phyTblIDs="[123]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:10.485 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=146] [2024/05/06 10:43:10.488 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=5.339775ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.497 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [category=ddl] [job="ID:125, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:10.500 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=146] [neededSchemaVersion=147] ["start time"=256.283Β΅s] [gotSchemaVersion=147] [phyTblIDs="[123]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:10.501 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=125] [version=147] [2024/05/06 10:43:10.504 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=4.321647ms] [job="ID:125, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.520 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=125] [2024/05/06 10:43:10.531 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=125] [conn=6] [job="ID:125, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.386 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:10.536 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=125] [2024/05/06 10:43:10.536 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.536 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=147] [cur_db=test] [sql="alter table t_issue_5092 drop column if exists a, drop column b, drop column c"] [user=] [2024/05/06 10:43:10.536 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:10.536 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=147] [error="[ddl:1090]You can't delete all columns with ALTER TABLE; use DROP TABLE instead"] [errorVerbose="[ddl:1090]You can't delete all columns with ALTER TABLE; use DROP TABLE instead\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:62\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:344\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:10.537 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=147] [cur_db=test] [sql="alter table t_issue_5092 drop column if exists c, drop column c"] [user=] [2024/05/06 10:43:10.537 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:10.537 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=147] [error="[ddl:8200]Unsupported operate same column 'c'"] [errorVerbose="[ddl:8200]Unsupported operate same column 'c'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx.func1\n\tpkg/ddl/multi_schema_change.go:329\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx\n\tpkg/ddl/multi_schema_change.go:354\ngithub.com/pingcap/tidb/pkg/ddl.checkMultiSchemaInfo\n\tpkg/ddl/multi_schema_change.go:457\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:60\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:345\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:10.537 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=147] [cur_db=test] [sql="alter table t_issue_5092 drop column c, drop column if exists c"] [user=] [2024/05/06 10:43:10.537 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:10.537 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=147] [error="[ddl:8200]Unsupported operate same column 'c'"] [errorVerbose="[ddl:8200]Unsupported operate same column 'c'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx.func1\n\tpkg/ddl/multi_schema_change.go:329\ngithub.com/pingcap/tidb/pkg/ddl.checkOperateSameColAndIdx\n\tpkg/ddl/multi_schema_change.go:354\ngithub.com/pingcap/tidb/pkg/ddl.checkMultiSchemaInfo\n\tpkg/ddl/multi_schema_change.go:457\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:60\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/ddl/schematracker.(*Checker).AlterTable\n\tpkg/ddl/schematracker/checker.go:330\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestIssue5092\n\tpkg/ddl/db_integration_test.go:346\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 6,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:10.538 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=147] [cur_db=test] [sql="drop table t_issue_5092"] [user=] [2024/05/06 10:43:10.540 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:10.540 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table t_issue_5092"] [2024/05/06 10:43:10.553 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=126] [conn=6] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.557 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=147] [neededSchemaVersion=148] ["start time"=66.718Β΅s] [gotSchemaVersion=148] [phyTblIDs="[123]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.558 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=148] [2024/05/06 10:43:10.560 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=3.889214ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:123, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.570 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=126] [conn=6] [category=ddl] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.573 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=148] [neededSchemaVersion=149] ["start time"=74.785Β΅s] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.574 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=149] [2024/05/06 10:43:10.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=2.47562ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.580 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=126] [conn=6] [category=ddl] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.584 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=149] [neededSchemaVersion=150] ["start time"=103.103Β΅s] [gotSchemaVersion=150] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:10.585 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=150] [2024/05/06 10:43:10.586 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=2.32842ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.592 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[123]"] [comment="drop table: table ID"] [2024/05/06 10:43:10.593 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2024/05/06 10:43:10.594 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 26, tp general"] [category=ddl] [jobID=126] [conn=6] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:10.539 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:10.597 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=126] [elementID=1] [startKey=74800000000000007b] [endKey=74800000000000007c] [2024/05/06 10:43:10.601 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/06 10:43:10.601 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:10.605 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 30, tp add index"] [category=ddl] ["take time"=5.336Β΅s] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 27, tp add index"] [category=ddl] ["take time"=3.892Β΅s] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 28, tp add index"] [category=ddl] ["take time"=4.395Β΅s] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 29, tp add index"] [category=ddl] ["take time"=3.967Β΅s] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 26, tp general"] [category=ddl] ["take time"=1.188Β΅s] [2024/05/06 10:43:10.605 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:10.605 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:10.605 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:10.610 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] ["take time"=9.417342ms] [2024/05/06 10:43:10.611 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [2024/05/06 10:43:10.611 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:10.611 +00:00] [INFO] [runtime.go:190] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/06 10:43:10.611 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:10.611 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:10.611 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:10.611 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:10.612 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:10.612 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1542] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [2024/05/06 10:43:10.612 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:10.612 +00:00] [INFO] [scheduler_manager.go:459] ["collect loop exits"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [scheduler_manager.go:379] ["cleanup loop exits"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [scheduler_manager.go:206] ["schedule task loop exits"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [scheduler_manager.go:318] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1544] ["dist task scheduler manager stopped"] [id=f0d5eec3-ccd6-48b6-b199-c93b80ab1bd3] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:10.612 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:10.612 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:10.613 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=11.880512ms] [2024/05/06 10:43:10.775 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:10.776 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:10.776 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:10.776 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:10.776 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:10.776 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestIssue5092 (4.00s) === RUN TestEnumDefaultValue [2024/05/06 10:43:11.078 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:11.078 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.078 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.079 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.079 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.080 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.083 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=889e87dd-11de-4f1f-8457-771ba4c77de7] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:11.095 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:11.095 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStore\n\tpkg/testkit/mockstore.go:72\ngithub.com/pingcap/tidb/pkg/ddl_test.TestEnumDefaultValue\n\tpkg/ddl/db_integration_test.go:2926\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:11.099 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.76665ms] [2024/05/06 10:43:11.099 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:11.099 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=fae0bece-d30f-42d4-aa2f-6332094edd91] [runWorker=true] [2024/05/06 10:43:11.100 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:11.101 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:11.101 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:11.101 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:11.101 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:11.101 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:11.101 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:11.101 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:11.102 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:11.107 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:11.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.107 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:11.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:11.116 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.123 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=4.702708ms] [2024/05/06 10:43:11.123 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:11.125 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.125 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:11.126 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=8.433817ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:11.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.134 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.104 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.138 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:11.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.138 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:11.140 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:11.147 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.147 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:11.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.169 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.198699ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.170 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:11.174 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=6.424424ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.182 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.142 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.190 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:11.190 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.190 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.191 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:11.195 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.195 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:11.204 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.208 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=357.165Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.210 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.210 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:11.212 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.480341ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.218 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.222 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:11.222 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.222 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.223 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:11.226 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.226 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:11.237 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.242 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=354.987Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.243 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.244 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:11.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.048474ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.250 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.224 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.254 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:11.254 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.255 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:11.259 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.259 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:11.269 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.277 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=862.305Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.278 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.278 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:11.280 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.796396ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.286 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.256 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.292 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:11.292 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.293 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:11.297 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.297 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:11.307 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.311 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=339.247Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.312 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.312 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:11.313 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.500764ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.319 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.323 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:11.323 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.323 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:11.327 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.327 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:11.334 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.338 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=411.949Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.339 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.339 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:11.340 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.474083ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.344 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.325 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.347 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:11.347 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.348 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:11.351 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.351 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:11.359 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=198.56Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.363 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:11.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.016477ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.373 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.376 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:11.376 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.377 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:11.393 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.393 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:11.400 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=279.323Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.404 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:11.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.047211ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.413 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.384 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.418 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:11.418 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.419 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:11.424 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.424 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:11.433 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=390.537Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.448 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.448 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:11.450 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=5.061661ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.468 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.472 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:11.472 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.473 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.473 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.473 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.473 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:11.479 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.479 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:11.489 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.493 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=437.593Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.494 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.494 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:11.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=4.495704ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.503 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.507 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:11.507 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.508 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:11.508 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.513 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.513 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:11.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=365.648Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.534 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:11.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.60776ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.541 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.545 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:11.545 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.545 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:11.548 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.548 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:11.558 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=486.14Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.564 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.564 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:11.566 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.297604ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.571 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.575 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:11.575 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.575 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:11.579 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.579 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:11.587 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.590 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=323.262Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.592 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.592 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:11.592 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.664025ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.597 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.577 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.601 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:11.601 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.601 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:11.604 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.604 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:11.611 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.615 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=316.544Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.616 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.616 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:11.616 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.21772ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.622 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.626 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:11.626 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.626 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:11.630 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.630 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:11.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=399.849Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.643 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:11.643 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.43469ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.649 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.628 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.653 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:11.653 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.654 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:11.657 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.657 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:11.667 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.671 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=333.718Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.672 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.672 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:11.673 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.030074ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.685 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.655 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.689 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:11.689 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.690 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:11.694 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.694 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:11.704 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.708 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=367.53Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.709 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.709 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:11.709 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.033923ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.721 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.692 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.726 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:11.726 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.726 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:11.731 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.731 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:11.741 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.746 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=439.535Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.748 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.748 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:11.750 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.137834ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.765 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.728 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:11.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.771 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:11.773 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:11.777 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.777 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:11.788 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=403.114Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.794 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:11.796 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=4.346241ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.805 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.810 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:11.810 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.810 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:11.814 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.814 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:11.828 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.832 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=235.941Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.834 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.834 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:11.835 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=4.156866ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.845 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.812 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:11.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.849 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:11.854 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.854 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:11.864 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.867 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=354.094Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.869 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.869 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:11.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=5.159186ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.882 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.852 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.886 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:11.887 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.887 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:11.892 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.892 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:11.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.906 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=476.119Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.908 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.908 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:11.910 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.162624ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.917 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.89 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:11.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:11.927 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.927 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:11.936 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=294.71Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.941 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.941 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:11.942 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.746487ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.947 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.952 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:11.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.953 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:11.956 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.956 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:11.965 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.969 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=344.777Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:11.970 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:11.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:11.973 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=5.162864ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.989 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.955 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:11.994 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:11.994 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:11.995 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:11.998 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:11.998 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:12.016 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.019 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=288.246Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.021 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:12.023 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=4.029361ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:11.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.033 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:11.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.037 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:12.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.038 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:12.041 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.041 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:12.049 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.053 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=962.303Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.054 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.055 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:12.056 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=4.319614ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.062 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.065 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:12.065 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.066 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:12.070 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.070 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:12.078 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.081 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=262.677Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.083 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.083 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:12.083 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.258479ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.088 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.068 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:12.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:12.092 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.094 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.094 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:12.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=363.851Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.104 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:12.104 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:12.105 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:12.107 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=4.089974ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.112 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.116 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:12.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.116 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:12.119 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.120 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:12.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=379.749Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.134 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.134 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:12.136 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.198672ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.142 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.147 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:12.147 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.148 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:12.151 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.151 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:12.159 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.163 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=316.355Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.164 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.164 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:12.165 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.406159ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.176 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.149 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.180 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:12.180 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.180 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:12.184 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.184 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:12.191 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=477.874Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.197 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.197 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:12.198 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.34105ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.203 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.182 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.207 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:12.207 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.207 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.207 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.208 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:12.210 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.210 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:12.219 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.221 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=233.385Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.222 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.223 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:12.223 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.528452ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.228 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.231 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:12.231 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.235 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.235 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:12.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=218.341Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:12.247 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.247 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:12.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=6.060526ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.264 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.269 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:12.269 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.269 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:12.272 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.273 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:12.280 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.283 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=240.595Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.284 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.284 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:12.285 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.255164ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.290 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.271 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.293 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:12.293 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.293 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.293 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.293 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:12.296 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.296 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:12.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.306 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=263.022Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.308 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.308 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:12.308 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.087916ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.313 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.295 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.317 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:12.317 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.317 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:12.320 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.320 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:12.328 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.331 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=216.675Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.332 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.332 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:12.333 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.855827ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.338 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.319 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.341 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:12.341 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.341 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:12.346 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.346 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:12.354 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.359 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=506.663Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.361 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.361 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:12.361 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.678291ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.367 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.372 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:12.372 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.372 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.372 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.372 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.372 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:12.376 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.376 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:12.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=494.136Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.392 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.392 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:12.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=5.384726ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.400 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.375 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.404 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:12.404 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.405 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.405 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:12.416 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.416 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:12.446 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.459 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=574.507Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.460 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.460 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:12.470 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=12.256826ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.479 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.485 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:12.485 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.485 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.485 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:12.489 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.489 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:12.506 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=681.161Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.514 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:12.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.520049ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.525 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.487 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.531 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:12.531 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.531 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:12.535 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.536 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:12.546 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=551.605Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.553 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.553 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:12.556 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=5.182991ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.572 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.533 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:12.577 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.578 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:12.582 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.582 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:12.588 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.593 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=564.193Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.595 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:12.598 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.99613ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.604 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.609 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:12.609 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.609 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.609 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.609 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.610 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:12.613 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.613 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:12.620 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.624 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=407.83Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.626 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:12.628 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.432695ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.634 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.612 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.638 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:12.638 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.638 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.639 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:12.641 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.642 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:12.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.664 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=406.162Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.666 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.666 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:12.666 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.012131ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.674 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.64 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.679 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:12.679 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.679 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.679 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.679 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:12.684 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.684 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:12.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=556.298Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.700 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:12.702 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.451069ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.710 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.716 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:12.716 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.716 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:12.726 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.726 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:12.734 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.739 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=395.923Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.741 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.741 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:12.741 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.365033ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.749 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.724 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.755 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:12.755 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.755 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:12.755 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:12.759 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.759 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:12.768 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.772 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=300.421Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.773 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:12.773 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.033845ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.782 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.757 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.785 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:12.786 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.786 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:12.789 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.789 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:12.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=328.991Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:12.805 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:12.806 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.023213ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.816 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.788 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:12.819 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.820 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:12.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:12.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:12.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:12.830 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.832 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=66.162Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:12.833 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:12.841 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.844226ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:12.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.846 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.849 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:12.849 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.852 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.852 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:12.859 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.863 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=238.72Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:12.864 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:12.864 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:12.864 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.013448ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:12.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.870 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 31, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.874 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:12.874 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:12.903 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.801926282s] [2024/05/06 10:43:12.910 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=fae0bece-d30f-42d4-aa2f-6332094edd91] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 33, tp add index"] [category=ddl] ["take time"=1.933Β΅s] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 34, tp add index"] [category=ddl] ["take time"=1.198Β΅s] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 35, tp add index"] [category=ddl] ["take time"=1.071Β΅s] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 32, tp add index"] [category=ddl] ["take time"=1.146Β΅s] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 31, tp general"] [category=ddl] ["take time"=989ns] [2024/05/06 10:43:12.910 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:12.910 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:12.910 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:12.913 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=fae0bece-d30f-42d4-aa2f-6332094edd91] ["take time"=10.079058ms] [2024/05/06 10:43:12.913 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=fae0bece-d30f-42d4-aa2f-6332094edd91] [2024/05/06 10:43:12.913 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:12.913 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:12.913 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:12.913 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:12.913 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:12.913 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:12.914 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=10.298895ms] [2024/05/06 10:43:12.914 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=889e87dd-11de-4f1f-8457-771ba4c77de7] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:12.921 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:12.936 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=14.901573ms] [2024/05/06 10:43:12.937 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:12.937 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] [runWorker=true] [2024/05/06 10:43:12.937 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:12.937 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:12.937 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:12.937 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:12.937 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:12.937 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:12.938 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:12.938 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:12.940 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:12.940 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:12.956 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:12.959 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:12.961 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:12.962 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:12.962 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:12.963 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:12.964 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:12.964 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:12.965 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:12.966 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:12.966 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:12.968 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:12.968 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:12.971 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:12.972 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t1;"] [user=] [2024/05/06 10:43:12.973 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE `t1` ( `a` enum('','a','b') NOT NULL DEFAULT 'b' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;"] [user=] [2024/05/06 10:43:12.976 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:12.976 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE `t1` ( `a` enum('','a','b') NOT NULL DEFAULT 'b' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;"] [2024/05/06 10:43:12.988 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:12.988 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:12.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:12.997 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:13.023 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=25.433537ms] [2024/05/06 10:43:13.027 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:13.028 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:13.030 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=33.087791ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:12.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.035 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=105] [conn=7] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:12.974 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.037 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:13.038 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.038 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=test] [sql="drop table if exists t1;"] [user=] [2024/05/06 10:43:13.042 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.042 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table if exists t1;"] [2024/05/06 10:43:13.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [category=ddl] [job="ID:106, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.052 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=79.543Β΅s] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:13.053 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 10:43:13.053 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.024949ms] [job="ID:106, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.057 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [category=ddl] [job="ID:106, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.059 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=42.832Β΅s] [gotSchemaVersion=54] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:13.061 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 10:43:13.061 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.172523ms] [job="ID:106, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.065 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [category=ddl] [job="ID:106, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.068 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=46.06Β΅s] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:43:13.069 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 10:43:13.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.848173ms] [job="ID:106, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.074 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=106] [tableIDs="[104]"] [comment="drop table: table ID"] [2024/05/06 10:43:13.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="drop table"] [2024/05/06 10:43:13.076 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=106] [conn=7] [job="ID:106, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:13.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.079 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=748000000000000068] [endKey=748000000000000069] [2024/05/06 10:43:13.081 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 10:43:13.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.081 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=55] [cur_db=test] [sql="CREATE TABLE `t1` ( `a` enum('','a','b') NOT NULL DEFAULT 'b ' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;"] [user=] [2024/05/06 10:43:13.084 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.084 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE `t1` ( `a` enum('','a','b') NOT NULL DEFAULT 'b ' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;"] [2024/05/06 10:43:13.088 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=7] [category=ddl] [job="ID:108, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.091 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=185.83Β΅s] [gotSchemaVersion=56] [phyTblIDs="[107]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.092 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=56] [2024/05/06 10:43:13.092 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.041306ms] [job="ID:108, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.100 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 36, tp general"] [category=ddl] [jobID=108] [conn=7] [job="ID:108, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:107, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.104 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 10:43:13.104 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.108 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 39, tp add index"] [category=ddl] ["take time"=1.656Β΅s] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 40, tp add index"] [category=ddl] ["take time"=1.189Β΅s] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 37, tp add index"] [category=ddl] ["take time"=1.402Β΅s] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 38, tp add index"] [category=ddl] ["take time"=945ns] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 36, tp general"] [category=ddl] ["take time"=908ns] [2024/05/06 10:43:13.108 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:13.108 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:13.108 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:13.109 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] ["take time"=3.440617ms] [2024/05/06 10:43:13.109 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] [2024/05/06 10:43:13.109 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:13.109 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:13.109 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:13.109 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:13.109 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:13.109 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d814ce1d-f4d4-49e6-8527-ff53e85e1fd2] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:13.110 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:13.110 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.353153ms] [2024/05/06 10:43:13.205 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:13.212 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:13.213 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:13.213 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:13.213 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:13.213 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestEnumDefaultValue (2.52s) === RUN TestSetInvalidDefaultValueAfterModifyColumn [2024/05/06 10:43:13.756 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:13.756 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:13.756 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:13.757 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:13.757 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:13.767 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:13.769 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=0987798f-b2d7-4276-af35-f77198f1be1a] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:13.775 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:13.775 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:13.775 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSetInvalidDefaultValueAfterModifyColumn\n\tpkg/ddl/db_test.go:989\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:13.791 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=15.696226ms] [2024/05/06 10:43:13.792 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:13.792 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=6c1d9aab-44a9-430e-9712-6dbd14f6c4f1] [runWorker=true] [2024/05/06 10:43:13.792 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:13.792 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:13.792 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:13.792 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:13.792 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:13.792 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:13.792 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:13.792 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:13.793 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:13.793 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:13.795 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:13.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.795 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:13.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:13.801 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.817 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=14.353159ms] [2024/05/06 10:43:13.818 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:13.820 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:13.821 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=18.102657ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:13.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.825 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.828 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:13.828 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.828 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:13.829 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:13.843 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.843 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:13.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.857 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.208068ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.859 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.859 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:13.861 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.670755ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.867 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.839 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.873 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:13.873 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.874 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:13.876 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.876 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:13.885 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.888 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=306.952Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.890 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.890 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:13.892 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=4.17314ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.902 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.906 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:13.906 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.906 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:13.909 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.909 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:13.917 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.920 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=299.041Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.921 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:13.922 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.15757ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.928 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.908 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.930 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:13.931 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.931 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:13.935 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.935 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:13.941 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.948 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=744.581Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.949 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.949 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:13.951 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.240997ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.957 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.932 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.961 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:13.961 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.961 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:13.964 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.964 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:13.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=316.38Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.974 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:13.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.895001ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.962 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.983 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:13.983 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:13.984 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:13.988 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:13.988 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:13.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:13.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=271.275Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:13.999 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:13.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:14.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.323808ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:13.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.004 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:13.985 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.007 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:14.007 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.008 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:14.010 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.010 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:14.017 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=256.108Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.021 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:14.023 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=3.021518ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.027 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:14.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.030 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:14.033 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.033 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:14.040 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=266.992Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.045 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.045 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:14.047 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=4.53086ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.054 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.032 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.057 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:14.057 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.058 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:14.071 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.071 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:14.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=286.501Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.081 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.081 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:14.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.446181ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.087 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.090 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:14.090 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.091 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:14.094 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.094 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:14.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=367.69Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.104 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.104 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:14.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.780247ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.110 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.092 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.114 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:14.114 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.115 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:14.115 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:14.118 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.118 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:14.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.158 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=537.465Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.159 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.159 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:14.162 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=5.201226ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.169 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.173 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:14.173 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.174 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:14.178 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.178 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:14.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=491.286Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.196 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.196 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:14.198 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=4.101308ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.204 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.209 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:14.209 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.210 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:14.221 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.221 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:14.232 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.235 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=281.174Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.237 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:14.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.793341ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.247 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.250 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:14.250 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.251 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:14.254 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.254 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:14.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.266 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=350.729Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.268 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.268 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:14.268 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.019927ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.252 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.281 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:14.281 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.281 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:14.284 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.284 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:14.292 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.295 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=296.829Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.296 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.296 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:14.296 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.019546ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.305 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.282 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.308 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:14.308 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.309 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:14.311 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.311 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:14.318 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=251.305Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.323 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.323 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:14.323 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.153914ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.327 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.330 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:14.330 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.331 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:14.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:14.342 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.345 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=260.142Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.346 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.346 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:14.346 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.027362ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.355 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.359 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:14.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.360 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:14.364 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.364 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:14.371 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.375 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=401.383Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.376 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.376 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:14.377 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.163995ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.382 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.388 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:14.388 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.389 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:14.394 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.394 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:14.400 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=250.833Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.405 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.405 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:14.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.714023ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.415 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.392 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.418 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:14.418 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.419 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:14.421 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.421 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:14.429 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.431 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=272.63Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.433 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:14.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.926907ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.446 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.42 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.449 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:14.449 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.450 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:14.452 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.452 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:14.457 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=208.095Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.461 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.461 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:14.462 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.04473ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.468 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.451 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.471 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:14.471 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.471 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:14.475 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.475 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:14.483 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.487 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=443.909Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.488 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.488 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:14.491 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.699091ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.497 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.501 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:14.501 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.501 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:14.504 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.504 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:14.522 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.526 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=326.791Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.527 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.527 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:14.527 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.020174ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.532 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:14.537 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.537 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:14.540 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.540 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:14.549 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.553 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=289.47Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.554 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.554 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:14.554 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.01957ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.560 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.564 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:14.564 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.565 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:14.568 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.568 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:14.577 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=286.243Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.582 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.582 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:14.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.240699ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.588 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.566 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.591 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:14.591 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.592 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:14.595 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.595 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:14.603 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=239.491Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.607 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:14.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.014692ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.612 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.614 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:14.614 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.615 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:14.617 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.617 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:14.625 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.629 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=281.579Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.630 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:14.631 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.314075ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.636 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.616 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.640 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:14.640 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.641 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:14.641 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:14.644 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.645 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:14.654 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.657 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=307.534Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.658 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.659 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:14.659 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.060483ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.669 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.673 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:14.673 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.673 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:14.677 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.677 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:14.688 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=438.228Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.694 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:14.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=5.149324ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.706 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.675 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.711 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:14.711 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.711 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:14.715 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.715 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:14.730 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.734 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=412.334Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.736 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.736 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:14.738 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=4.346834ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.745 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.748 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:14.748 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.749 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:14.753 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.753 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:14.764 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.769 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=436.932Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.770 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.770 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:14.771 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.410316ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.777 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.751 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.781 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:14.781 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.781 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:14.784 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.784 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:14.792 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:14.792 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=172.87Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.796 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.796 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:14.797 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.269144ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.805 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.808 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:14.808 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.812 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:14.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.812 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:14.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:14.824 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.828 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=334.134Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:14.829 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.829 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:14.829 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.018573ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:14.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.834 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.838 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:14.839 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.839 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:14.842 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.842 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:14.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=279.595Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.853 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:14.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.086334ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.861 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.867 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:14.867 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.867 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:14.870 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.870 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:14.876 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.878 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=265.056Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.880 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.880 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:14.881 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.421094ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.887 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.891 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:14.891 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.891 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:14.894 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.894 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:14.905 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.908 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=258.077Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.910 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:14.910 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.212624ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.918 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:14.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:14.926 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.926 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:14.934 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.939 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=352.012Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.940 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.940 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:14.941 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=3.016896ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.951 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.955 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:14.955 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.955 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:14.958 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.959 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:14.965 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.969 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=376.986Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.970 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.970 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:14.971 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=3.063493ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.976 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.980 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:14.980 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:14.981 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:14.984 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:14.984 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:14.992 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:14.996 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=567.977Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:14.998 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:14.998 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:15.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.027488ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:14.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.011 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:14.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.016 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:15.016 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.017 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:15.022 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.022 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:15.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=807.474Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.048 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.048 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:15.049 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=6.071096ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.056 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.018 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.062 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:15.062 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.062 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:15.066 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.067 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:15.074 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.079 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=603.509Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.080 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.080 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:15.083 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=4.989958ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.093 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.098 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:15.098 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.099 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:15.103 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.103 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:15.117 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.122 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=451.705Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.124 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.124 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:15.126 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.926397ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.132 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.138 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:15.138 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.139 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:15.142 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.142 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:15.153 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=381.973Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.158 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:15.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=2.021955ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.164 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.14 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.178 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:15.178 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.178 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:15.182 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.182 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:15.192 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.197 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=411.661Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.198 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:15.201 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.38105ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.207 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.212 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:15.212 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.212 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:15.216 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.217 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:15.225 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=700.49Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.232 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:15.235 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.906487ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.244 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.249 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:15.249 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.249 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:15.253 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.253 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:15.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.267 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=332.682Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.268 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.268 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:15.271 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=4.518566ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.251 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.281 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:15.281 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.281 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:15.284 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.284 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:15.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.296 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=239.607Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.297 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.297 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:15.298 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.030732ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.302 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.283 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.305 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:15.305 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.305 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:15.308 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.308 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:15.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.319 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=281.972Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.320 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.320 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:15.321 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.500778ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.327 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.331 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:15.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.331 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:15.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:15.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.346 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=72.681Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:15.347 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.347 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:15.348 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.335339ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.356 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.359 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:15.359 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.362 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:15.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.362 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:15.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:15.371 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=254.802Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:15.376 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:15.376 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:15.376 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.026731ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:15.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.381 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 41, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.384 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:15.384 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.410 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.618275418s] [2024/05/06 10:43:15.411 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=6c1d9aab-44a9-430e-9712-6dbd14f6c4f1] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 43, tp add index"] [category=ddl] ["take time"=3.063Β΅s] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 44, tp add index"] [category=ddl] ["take time"=3.39Β΅s] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 45, tp add index"] [category=ddl] ["take time"=3.568Β΅s] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 42, tp add index"] [category=ddl] ["take time"=2.389Β΅s] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 41, tp general"] [category=ddl] ["take time"=1.034Β΅s] [2024/05/06 10:43:15.411 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.411 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:15.411 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:15.413 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=6c1d9aab-44a9-430e-9712-6dbd14f6c4f1] ["take time"=2.774167ms] [2024/05/06 10:43:15.413 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=6c1d9aab-44a9-430e-9712-6dbd14f6c4f1] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:15.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:15.413 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:15.414 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:15.413 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:15.414 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.99933ms] [2024/05/06 10:43:15.414 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=0987798f-b2d7-4276-af35-f77198f1be1a] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:15.421 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:15.421 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:15.447 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=25.322995ms] [2024/05/06 10:43:15.451 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:15.451 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] [runWorker=true] [2024/05/06 10:43:15.452 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:15.452 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:15.452 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:15.452 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:15.453 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:15.453 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:15.453 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:15.454 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:15.454 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:15.459 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:15.459 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:15.470 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:15.473 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:15.475 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:15.475 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:15.475 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:15.475 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:15.476 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:15.476 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:15.476 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:15.476 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:15.477 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:15.477 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:15.477 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:15.481 +00:00] [INFO] [set.go:170] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:15.481 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=51] [cur_db=test] [sql="create table t(a int, b int)"] [user=] [2024/05/06 10:43:15.483 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.483 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t(a int, b int)"] [2024/05/06 10:43:15.504 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:15.504 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:15.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=226.792Β΅s] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:15.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:15.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=2.059647ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.519 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=105] [conn=8] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.522 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:15.522 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.523 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=test] [sql="alter table t modify column a text(100)"] [user=] [2024/05/06 10:43:15.525 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:15.525 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:5, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column a text(100)"] [2024/05/06 10:43:15.529 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.530 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=228.029Β΅s] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:15.533 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 10:43:15.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=3.196188ms] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.541 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.541 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 48, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.541 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=263.084Β΅s] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:15.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 10:43:15.545 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.023977ms] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.545 +00:00] [INFO] [set.go:170] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:15.546 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.546 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=54] [cur_db=test] [sql="alter table t alter column a set default 1"] [user=] [2024/05/06 10:43:15.548 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:15.548 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t alter column a set default 1"] [2024/05/06 10:43:15.552 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.552 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.553 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.555 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=287.65Β΅s] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:15.556 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 10:43:15.556 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.017228ms] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.557 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.563 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 47, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.564 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{104 t utf8mb4 utf8mb4_bin [0xc0351694a0 0xc035169600 0xc035169760] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449574914110783488 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 10:43:15.564 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=] [endKey=] [2024/05/06 10:43:15.566 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.567 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:15.567 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.574 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.574 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 49, tp add index"] [category=ddl] [jobID=106] [conn=8] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.576 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:3,StartKey:,EndKey:,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=] ["end key"=] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:421] ["split table range from PD, get noop table range"] [category=ddl] [physicalTableID=104] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/06 10:43:15.577 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:3,TypeKey:_col_] ["total added count"=0] ["start key"=] [2024/05/06 10:43:15.577 +00:00] [INFO] [reorg.go:642] ["get noop table range"] [category=ddl] [table="&{104 t utf8mb4 utf8mb4_bin [0xc036a64b00 0xc036a64c60 0xc02e3b6000] [] [] [] public false false 0 0 0 0 0 3 0 0 0 449574914110783488 0 0 0 0 0 0 5 false disable 3 2}"] ["table/partition ID"=104] ["start key"=] ["end key"=] ["is empty table"=true] [2024/05/06 10:43:15.577 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=0] [2024/05/06 10:43:15.578 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.580 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=189.576Β΅s] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:15.581 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/06 10:43:15.582 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.568768ms] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.584 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.593 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="modify column"] [2024/05/06 10:43:15.593 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 50, tp add index"] [category=ddl] [jobID=106] [conn=8] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.597 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:15.524 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914113667073, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:15.600 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 10:43:15.600 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:15.602 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.602 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=9] [category=ddl] [job="ID:107, Type:set default value, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.603 +00:00] [INFO] [ddl_worker.go:1144] ["DDL job is cancelled normally"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=9] [error="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value"] [errorVerbose="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.checkColumnDefaultValue\n\tpkg/ddl/ddl_api.go:1044\ngithub.com/pingcap/tidb/pkg/ddl.updateColumnDefaultValue\n\tpkg/ddl/column.go:1806\ngithub.com/pingcap/tidb/pkg/ddl.onSetDefaultValue\n\tpkg/ddl/column.go:367\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1254\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:15.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.603 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 46, tp general"] [category=ddl] [jobID=107] [conn=9] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:107, Type:set default value, State:cancelled, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:15.547 +0000 UTC, Err:[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:15.606 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=107] [2024/05/06 10:43:15.606 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:15.607 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=54] [error="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value"] [errorVerbose="[ddl:1101]BLOB/TEXT/JSON column 'a' can't have a default value\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterColumn\n\tpkg/ddl/ddl_api.go:6379\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3967\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/ddl_test.TestSetInvalidDefaultValueAfterModifyColumn.func1.1\n\tpkg/ddl/db_test.go:1011\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 9,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:15.608 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 49, tp add index"] [category=ddl] ["take time"=1.927Β΅s] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 50, tp add index"] [category=ddl] ["take time"=1.276Β΅s] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 47, tp add index"] [category=ddl] ["take time"=1.201Β΅s] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 48, tp add index"] [category=ddl] ["take time"=1.428Β΅s] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 46, tp general"] [category=ddl] ["take time"=912ns] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:15.608 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:15.608 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] ["take time"=1.6098ms] [2024/05/06 10:43:15.608 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] [2024/05/06 10:43:15.608 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:15.608 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:15.608 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:15.608 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:15.608 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:15.608 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:15.608 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:15.609 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:15.609 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:15.609 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=497187ef-c78f-427a-8a08-baa9b4f53b7a] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:15.609 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:15.609 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:15.610 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.923436ms] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:15.762 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestSetInvalidDefaultValueAfterModifyColumn (3.01s) === RUN TestAddIndex3 [2024/05/06 10:43:16.422 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:16.422 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.422 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.423 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.423 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.424 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.425 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b09c5409-72c5-4a79-be37-964de0dfd64b] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:16.433 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:16.433 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreWithSchemaLease\n\tpkg/testkit/mockstore.go:311\ngithub.com/pingcap/tidb/pkg/ddl_test.testAddIndex\n\tpkg/ddl/index_modify_test.go:176\ngithub.com/pingcap/tidb/pkg/ddl_test.TestAddIndex3\n\tpkg/ddl/index_modify_test.go:117\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:16.455 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=21.687329ms] [2024/05/06 10:43:16.456 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:16.456 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=e9526e95-9cd3-43ce-855e-eb1e10fc2a97] [runWorker=true] [2024/05/06 10:43:16.457 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:16.457 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:16.457 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:16.457 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:16.458 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:16.458 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:16.458 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:16.458 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:16.458 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:16.458 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:16.461 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:16.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.461 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:16.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:16.468 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.485 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=15.336236ms] [2024/05/06 10:43:16.486 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:16.488 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.488 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:16.490 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=20.172271ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:16.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.494 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.497 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:16.497 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.497 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:16.498 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:16.503 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.503 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:16.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.382112ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.522 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.522 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:16.523 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.525644ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.531 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.537 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:16.538 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.538 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.538 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:16.541 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.541 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:16.548 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.550 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=219.231Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.551 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:16.552 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.296352ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.556 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.560 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:16.560 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.560 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.561 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:16.563 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.563 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:16.573 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.576 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=321.915Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.578 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.578 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:16.578 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.33295ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.583 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.562 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.587 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:16.587 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.588 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:16.591 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.591 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:16.597 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=493.544Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.603 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.603 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:16.604 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.866409ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.609 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.589 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.613 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:16.614 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.614 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:16.617 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.617 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:16.624 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.628 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=412.507Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.630 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:16.630 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.020352ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.635 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.615 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.640 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:16.640 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.641 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:16.644 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.644 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:16.655 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.658 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=396.923Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.659 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.659 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:16.660 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.158414ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.668 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.642 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.672 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:16.672 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.673 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:16.675 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.675 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:16.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.684 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=164.458Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.685 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.685 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:16.686 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.34448ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.691 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.674 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.693 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:16.693 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.694 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:16.696 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.697 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:16.706 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.709 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=196.272Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.710 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.710 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:16.711 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.427016ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.718 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.721 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:16.721 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.721 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:16.723 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.724 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:16.730 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.733 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=234.637Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.734 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.734 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:16.735 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.190987ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.740 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.722 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.743 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:16.743 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.743 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.743 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.743 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.744 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:16.747 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.747 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:16.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=237.485Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.756 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:16.757 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.24135ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.768 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.771 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:16.771 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.772 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:16.772 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.775 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.775 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:16.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.786 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=397.415Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.787 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:16.788 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.798906ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.793 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.773 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.797 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:16.798 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.798 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:16.801 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.801 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:16.807 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.811 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=404.413Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.812 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.812 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:16.814 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=3.696728ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.819 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.823 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:16.823 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.824 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:16.826 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.826 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:16.834 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.837 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=363.47Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.838 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.838 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:16.839 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=2.898446ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.849 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.825 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.853 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:16.853 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.853 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:16.856 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.856 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:16.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.869 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=242.602Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.870 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.870 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:16.870 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.200386ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.875 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.855 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.879 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:16.879 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.880 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:16.882 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.882 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:16.889 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.892 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=329.201Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.893 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.893 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:16.895 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.796992ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.899 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.903 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:16.903 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.903 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:16.906 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.906 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:16.913 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.917 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=296.344Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.917 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:16.918 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.010801ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.923 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.905 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.926 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:16.926 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.926 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:16.929 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.929 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:16.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.941 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=333.009Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.942 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.942 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:16.943 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=3.037492ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.948 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.957 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:16.957 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.958 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:16.962 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.962 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:16.969 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.974 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=474.697Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.975 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:16.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.059414ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:16.984 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.984 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:16.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:16.988 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:16.988 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:16.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:16.996 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=235.905Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:16.997 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:16.997 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:16.999 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.946769ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:16.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.003 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:16.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.006 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:17.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.007 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:17.009 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.009 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:17.015 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.018 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=210.422Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.020 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.020 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:17.020 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.046941ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.027 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.008 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:17.030 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.030 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:17.033 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.033 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:17.040 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.043 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=166.047Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.044 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.044 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:17.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.862703ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.050 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.031 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.052 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:17.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.052 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:17.055 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.055 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:17.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=346.809Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.068 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:17.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.963134ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.075 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.078 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:17.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.078 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:17.081 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.081 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:17.090 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=252.12Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.094 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.094 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:17.095 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=3.0197ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.103 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.106 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:17.106 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.107 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:17.111 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.111 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:17.119 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.122 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=311.859Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.124 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.124 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:17.124 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.016093ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.131 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.134 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:17.134 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.135 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:17.138 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.138 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:17.145 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.149 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=318.256Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.151 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.151 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:17.151 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.722377ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.156 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.158 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:17.158 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.159 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:17.161 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.161 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:17.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.171 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=232.593Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.172 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:17.177 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=6.377276ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.181 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.183 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:17.183 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.184 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:17.187 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.187 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:17.194 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.197 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=210.534Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.197 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.197 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:17.198 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.203638ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.203 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.185 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.208 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:17.208 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.208 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:17.209 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.211 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.211 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:17.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.218 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=292.372Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.219 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.219 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:17.220 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.115951ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.224 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.231 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:17.231 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.231 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:17.235 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.235 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:17.244 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.248 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=402.989Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.249 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.249 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:17.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.696993ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.258 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.262 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:17.262 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.262 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:17.265 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.265 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:17.273 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=283.984Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.277 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.277 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:17.278 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.590453ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.283 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.286 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:17.286 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.287 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:17.290 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.290 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:17.297 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.301 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=514.908Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.303 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.303 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:17.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.032137ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.307 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.288 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.311 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:17.311 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.312 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.312 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.312 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:17.314 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.314 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:17.323 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.326 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=236.078Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.327 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.327 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:17.332 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=6.236729ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.338 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.313 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.343 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:17.343 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.348 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.348 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:17.357 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.361 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=364.03Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:17.363 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:17.363 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.706422ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.369 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.374 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:17.374 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.375 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:17.378 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.378 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:17.386 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=350.36Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.391 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:17.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.446328ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.400 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.404 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:17.404 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.404 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.404 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.405 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:17.408 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.408 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:17.420 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.424 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=322.259Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.428 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:17.428 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.008009ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.437 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.406 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.440 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:17.440 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.440 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:17.443 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.443 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:17.452 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.456 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=304.782Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.458 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.458 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:17.458 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.649415ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.461 +00:00] [ERROR] [misc.go:114] ["panic in the recoverable goroutine"] [label=domain] [funcInfo=runawayStartLoop] [r="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:118\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:114\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:914\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:175\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:17.461 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:17.464 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.442 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.468 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:17.468 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.469 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:17.472 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.472 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:17.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.492 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=551.417Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.493 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.493 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:17.498 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=6.793445ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.503 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.508 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:17.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.508 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.508 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.508 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.508 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:17.512 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.512 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:17.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.523 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=461.032Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.525 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.525 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:17.526 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.186335ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.532 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.539 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:17.539 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.540 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.540 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:17.546 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.546 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:17.552 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.558 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=751.714Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.559 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.559 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:17.563 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=6.345067ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.570 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.575 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:17.575 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.575 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.575 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:17.588 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.588 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:17.597 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.604 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=1.978921ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.605 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.605 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:17.606 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.304832ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.614 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.619 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:17.619 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.620 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:17.623 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.624 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:17.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.649 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=601.8Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.650 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.650 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:17.650 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.5669ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.657 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.622 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.662 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:17.662 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.663 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:17.667 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.667 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:17.679 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.692 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=568.065Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.694 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:17.695 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=4.353362ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.702 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.708 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:17.708 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.709 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.709 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.709 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.709 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:17.712 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.713 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:17.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.729 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=463.619Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.730 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.730 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:17.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.672205ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.739 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.752 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:17.752 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.752 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.752 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:17.756 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.756 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:17.764 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.768 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=442.143Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.769 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:17.769 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.060989ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.775 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.754 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.778 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:17.779 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.779 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.779 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.779 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:17.783 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.784 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:17.792 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.797 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=687.972Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.799 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:17.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.436928ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.828 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.781 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.833 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:17.833 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.837 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:17.860 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.860 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:17.865 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.869 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=391.313Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.871 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.871 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:17.871 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.066731ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.881 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.885 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:17.885 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.886 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:17.886 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:17.889 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.889 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:17.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.902 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=306.356Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.904 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.904 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:17.905 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.692422ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.910 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.887 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.914 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:17.914 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.915 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:17.918 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.918 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:17.930 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=405.701Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:17.937 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.937 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:17.939 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=4.249549ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:17.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.945 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.917 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.948 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:17.948 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.948 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:17.950 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:17.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.950 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:17.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:17.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.965 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=66.002Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:17.967 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:17.967 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.100797ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:17.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.979 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.949 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.981 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:17.981 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:17.985 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:17.985 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:17.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:17.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=247.634Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:17.999 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:17.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:18.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.874311ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:17.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:18.007 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 51, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:17.983 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:18.010 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:18.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:18.047 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.589629565s] [2024/05/06 10:43:18.047 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=e9526e95-9cd3-43ce-855e-eb1e10fc2a97] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 52, tp add index"] [category=ddl] ["take time"=2.273Β΅s] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 53, tp add index"] [category=ddl] ["take time"=984ns] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 54, tp add index"] [category=ddl] ["take time"=984ns] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 55, tp add index"] [category=ddl] ["take time"=1Β΅s] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 51, tp general"] [category=ddl] ["take time"=1.157Β΅s] [2024/05/06 10:43:18.047 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.047 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:18.047 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:18.051 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=e9526e95-9cd3-43ce-855e-eb1e10fc2a97] ["take time"=3.310711ms] [2024/05/06 10:43:18.051 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=e9526e95-9cd3-43ce-855e-eb1e10fc2a97] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:18.051 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:18.051 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.520652ms] [2024/05/06 10:43:18.051 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=b09c5409-72c5-4a79-be37-964de0dfd64b] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:18.057 +00:00] [WARN] [runaway.go:462] ["cannot setup up resource controller, not using tikv storage"] [2024/05/06 10:43:18.084 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=26.025688ms] [2024/05/06 10:43:18.088 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:18.088 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] [runWorker=true] [2024/05/06 10:43:18.089 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:18.089 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:18.089 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:18.089 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:18.089 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:18.089 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:18.089 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:18.089 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:18.090 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:18.097 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:18.097 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:18.111 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:18.114 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:18.115 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:18.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:18.116 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:18.117 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:18.118 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:18.119 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:18.120 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:18.120 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:18.123 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:18.124 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:18.124 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:18.129 +00:00] [INFO] [set.go:170] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:18.129 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="drop table if exists test_add_index"] [user=] [2024/05/06 10:43:18.130 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=51] [cur_db=test] [sql="create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1))\n\t\t\t partition by hash (c1) partitions 4;"] [user=] [2024/05/06 10:43:18.140 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:18.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:18.140 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:18.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_add_index (c1 bigint, c2 bigint, c3 bigint, primary key(c1))\n\t\t\t partition by hash (c1) partitions 4;"] [2024/05/06 10:43:18.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=10] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:18.158 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=7.761338ms] [gotSchemaVersion=52] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:18.159 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=109] [version=52] [2024/05/06 10:43:18.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=10.885617ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:18.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:18.166 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 56, tp general"] [category=ddl] [jobID=109] [conn=10] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:18.169 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=109] [2024/05/06 10:43:18.169 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:18.500 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=52] [cur_db=test] [sql="alter table test_add_index add key c3_index(c3)"] [user=] [2024/05/06 10:43:18.503 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:18.503 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table test_add_index add key c3_index(c3)"] [2024/05/06 10:43:18.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.511 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"c3_index\",\"L\":\"c3_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":2,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:43:18.511 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:43:18.522 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=8.225376ms] [gotSchemaVersion=53] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.524 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=53] [2024/05/06 10:43:18.525 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=11.128422ms] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.533 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.543 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=7.742045ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.544 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=54] [2024/05/06 10:43:18.546 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=10.37256ms] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.553 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 59, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.572 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=16.743544ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.573 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/06 10:43:18.575 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=20.393607ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.594 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.595 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:43:18.596 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=105] [startKey=7480000000000000695f727ffffffffffffff8] [endKey=7480000000000000695f72800000000001dc7800] [2024/05/06 10:43:18.599 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/06 10:43:18.606 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.607 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:43:18.608 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000695f727ffffffffffffff8,EndKey:7480000000000000695f72800000000001dc7800,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 10:43:18.609 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f727ffffffffffffff8] ["end key"=7480000000000000695f72800000000001dc7800] [2024/05/06 10:43:18.609 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f727ffffffffffffff8] [endKey=7480000000000000695f72800000000001dc7800] [2024/05/06 10:43:18.610 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000001dc7800] ["current end key"=7480000000000000695f72800000000001dc7800] [2024/05/06 10:43:18.611 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/06 10:43:18.611 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/06 10:43:18.611 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/06 10:43:18.619 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f727ffffffffffffff8, 7480000000000000695f72800000000001dc7800), jobID: 110"] ["added count"=361] ["scan count"=361] ["next key"=7480000000000000695f72800000000001dc7800] ["take time"=8.723806ms] [2024/05/06 10:43:18.619 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/06 10:43:18.619 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=361] ["start key"=7480000000000000695f727ffffffffffffff8] [2024/05/06 10:43:18.621 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f727ffffffffffffff7] [endKey=74800000000000006a5f72800000000001dc6d00] [] [2024/05/06 10:43:18.621 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:361, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f727ffffffffffffff7,EndKey:74800000000000006a5f72800000000001dc6d00,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 10:43:18.622 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f727ffffffffffffff7] ["end key"=74800000000000006a5f72800000000001dc6d00] [2024/05/06 10:43:18.622 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f727ffffffffffffff7] [endKey=74800000000000006a5f72800000000001dc6d00] [2024/05/06 10:43:18.623 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f72800000000001dc6d00] ["current end key"=74800000000000006a5f72800000000001dc6d00] [2024/05/06 10:43:18.629 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/06 10:43:18.629 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/06 10:43:18.629 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/06 10:43:18.631 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 106, range: [74800000000000006a5f727ffffffffffffff7, 74800000000000006a5f72800000000001dc6d00), jobID: 110"] ["added count"=368] ["scan count"=368] ["next key"=74800000000000006a5f72800000000001dc6d00] ["take time"=8.00693ms] [2024/05/06 10:43:18.631 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/06 10:43:18.631 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=729] ["start key"=74800000000000006a5f727ffffffffffffff7] [2024/05/06 10:43:18.634 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=107] [startKey=74800000000000006b5f727ffffffffffffff6] [endKey=74800000000000006b5f72800000000001dc7200] [] [2024/05/06 10:43:18.634 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:729, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006b5f727ffffffffffffff6,EndKey:74800000000000006b5f72800000000001dc7200,First:false,PhysicalTableID:107,Ingest mode:false"] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=107] ["start key"=74800000000000006b5f727ffffffffffffff6] ["end key"=74800000000000006b5f72800000000001dc7200] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006b5f727ffffffffffffff6] [endKey=74800000000000006b5f72800000000001dc7200] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=107] ["end key"=74800000000000006b5f72800000000001dc7200] ["current end key"=74800000000000006b5f72800000000001dc7200] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/06 10:43:18.635 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/06 10:43:18.643 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 107, range: [74800000000000006b5f727ffffffffffffff6, 74800000000000006b5f72800000000001dc7200), jobID: 110"] ["added count"=361] ["scan count"=361] ["next key"=74800000000000006b5f72800000000001dc7200] ["take time"=8.063791ms] [2024/05/06 10:43:18.643 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/06 10:43:18.643 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1090] ["start key"=74800000000000006b5f727ffffffffffffff6] [2024/05/06 10:43:18.647 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=108] [startKey=74800000000000006c5f727ffffffffffffff9] [endKey=74800000000000006c5f72fffffffffffffdff00] [] [2024/05/06 10:43:18.647 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1090, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006c5f727ffffffffffffff9,EndKey:74800000000000006c5f72fffffffffffffdff00,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/06 10:43:18.650 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f727ffffffffffffff9] ["end key"=74800000000000006c5f72fffffffffffffdff00] [2024/05/06 10:43:18.650 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f727ffffffffffffff9] [endKey=74800000000000006c5f72fffffffffffffdff00] [2024/05/06 10:43:18.651 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f72fffffffffffffdff00] ["current end key"=74800000000000006c5f72fffffffffffffdff00] [2024/05/06 10:43:18.651 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=110] [2024/05/06 10:43:18.651 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=110] [2024/05/06 10:43:18.651 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=110] [2024/05/06 10:43:18.663 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f727ffffffffffffff9, 74800000000000006c5f72fffffffffffffdff00), jobID: 110"] ["added count"=358] ["scan count"=358] ["next key"=74800000000000006c5f72fffffffffffffdff00] ["take time"=12.032908ms] [2024/05/06 10:43:18.663 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=110] [2024/05/06 10:43:18.663 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1448] ["start key"=74800000000000006c5f727ffffffffffffff9] [2024/05/06 10:43:18.682 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=30ms] ["total added row count"=729] [2024/05/06 10:43:18.683 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/06 10:43:18.691 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.691 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=110] [table=test_add_index] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:43:18.699 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1448] [2024/05/06 10:43:18.742 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=7.959607ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=56] [2024/05/06 10:43:18.745 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=10.642765ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.758 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 58, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914908487680, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.758 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=110] [table=test_add_index] [index=c3_index] [2024/05/06 10:43:18.768 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=7.597109ms] [gotSchemaVersion=57] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.769 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=57] [2024/05/06 10:43:18.771 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=10.394953ms] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.778 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.779 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=110] [physicalTableID=105] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/06 10:43:18.783 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=110] [2024/05/06 10:43:18.790 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 57, tp add index"] [category=ddl] [jobID=110] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:0, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.798 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:7480000000000000695f69ffff000000000001,EndKey:7480000000000000695f69ffff000000000001ff,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 10:43:18.799 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f69ffff000000000001] ["end key"=7480000000000000695f69ffff000000000001ff] [2024/05/06 10:43:18.799 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000001ff] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f69ffff000000000001ff] ["current end key"=7480000000000000695f69ffff00000000000100] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f69ffff000000000001, 7480000000000000695f69ffff00000000000100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=7480000000000000695f69ffff0000000000010000] ["take time"=105.82Β΅s] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.800 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1448] ["start key"=7480000000000000695f69ffff000000000001] [2024/05/06 10:43:18.802 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [] [2024/05/06 10:43:18.802 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006a5f69ffff000000000001,EndKey:74800000000000006a5f69ffff000000000001ff,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 10:43:18.803 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f69ffff000000000001] ["end key"=74800000000000006a5f69ffff000000000001ff] [2024/05/06 10:43:18.803 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000001ff] [2024/05/06 10:43:18.803 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f69ffff000000000001ff] ["current end key"=74800000000000006a5f69ffff00000000000103800000000000040103800000000000040100] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 106, range: [74800000000000006a5f69ffff000000000001, 74800000000000006a5f69ffff00000000000103800000000000040103800000000000040100), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006a5f69ffff0000000000010380000000000004010380000000000004010000] ["take time"=130.212Β΅s] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.804 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1448] ["start key"=74800000000000006a5f69ffff000000000001] [2024/05/06 10:43:18.805 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=107] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000001ff] [] [2024/05/06 10:43:18.805 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006b5f69ffff000000000001,EndKey:74800000000000006b5f69ffff000000000001ff,First:false,PhysicalTableID:107,Ingest mode:false"] [2024/05/06 10:43:18.806 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=107] ["start key"=74800000000000006b5f69ffff000000000001] ["end key"=74800000000000006b5f69ffff000000000001ff] [2024/05/06 10:43:18.806 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000001ff] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=107] ["end key"=74800000000000006b5f69ffff000000000001ff] ["current end key"=74800000000000006b5f69ffff00000000000103800000000000040203800000000000040200] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 107, range: [74800000000000006b5f69ffff000000000001, 74800000000000006b5f69ffff00000000000103800000000000040203800000000000040200), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006b5f69ffff0000000000010380000000000004020380000000000004020000] ["take time"=107.756Β΅s] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.807 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1448] ["start key"=74800000000000006b5f69ffff000000000001] [2024/05/06 10:43:18.809 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=110] [element=ID:1,TypeKey:_idx_] [partitionTableID=108] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000001ff] [] [2024/05/06 10:43:18.809 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:110, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1448, ArgLen:6, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:1,StartKey:74800000000000006c5f69ffff000000000001,EndKey:74800000000000006c5f69ffff000000000001ff,First:false,PhysicalTableID:108,Ingest mode:false"] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=108] ["start key"=74800000000000006c5f69ffff000000000001] ["end key"=74800000000000006c5f69ffff000000000001ff] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000001ff] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=108] ["end key"=74800000000000006c5f69ffff000000000001ff] ["current end key"=74800000000000006c5f69ffff00000000000103800000000000040303800000000000040300] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 108, range: [74800000000000006c5f69ffff000000000001, 74800000000000006c5f69ffff00000000000103800000000000040303800000000000040300), jobID: 110"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006c5f69ffff0000000000010380000000000004030380000000000004030000] ["take time"=118.629Β΅s] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp merge temporary index"] [jobID=110] [2024/05/06 10:43:18.810 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:1,TypeKey:_idx_] ["total added count"=1448] ["start key"=74800000000000006c5f69ffff000000000001] [2024/05/06 10:43:18.810 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1448] [2024/05/06 10:43:18.850 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:43:18.859 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=7.55205ms] [gotSchemaVersion=58] [phyTblIDs="[104,105,106,107,108]"] [actionTypes="[7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:18.861 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=58] [2024/05/06 10:43:18.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=11.011496ms] [job="ID:110, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:1448, ArgLen:3, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.870 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=105] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:18.871 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=106] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:18.871 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=107] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:18.872 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=110] [tableID=108] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:18.873 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=110] [jobType="add index"] [2024/05/06 10:43:18.873 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 60, tp add index"] [category=ddl] [jobID=110] [job="ID:110, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:1448, ArgLen:3, start time: 2024-05-06 10:43:18.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574914956722176, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:18.877 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=1] [startKey=7480000000000000695f69ffff000000000001] [endKey=7480000000000000695f69ffff000000000002] [2024/05/06 10:43:18.880 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=2] [startKey=74800000000000006a5f69ffff000000000001] [endKey=74800000000000006a5f69ffff000000000002] [2024/05/06 10:43:18.880 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 10:43:18.880 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:18.883 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=3] [startKey=74800000000000006b5f69ffff000000000001] [endKey=74800000000000006b5f69ffff000000000002] [2024/05/06 10:43:18.889 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=110] [elementID=4] [startKey=74800000000000006c5f69ffff000000000001] [endKey=74800000000000006c5f69ffff000000000002] [2024/05/06 10:43:18.892 +00:00] [INFO] [executor.go:2527] ["fast check table by group"] ["table name"=test_add_index] ["index name"=c3_index] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`test_add_index`]) */ bit_xor(crc32(md5(concat_ws(0x2, `c1`, `c3`)))), ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`test_add_index` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `c1`, `c3`)))), ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`test_add_index` use index(`c3_index`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `c1`))) as signed) - 0) div 1 % 1024)"] [2024/05/06 10:43:18.914 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 57, tp add index"] [category=ddl] ["take time"=4.111Β΅s] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 60, tp add index"] [category=ddl] ["take time"=1.286Β΅s] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 59, tp add index"] [category=ddl] ["take time"=1.066Β΅s] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 58, tp add index"] [category=ddl] ["take time"=841ns] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 56, tp general"] [category=ddl] ["take time"=1.154Β΅s] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:18.915 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:18.915 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] ["take time"=1.035114ms] [2024/05/06 10:43:18.915 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] [2024/05/06 10:43:18.915 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:18.915 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:18.916 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:18.916 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:18.916 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:18.916 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=abc81994-86a2-40dc-84f3-990707ccff4a] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:18.916 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:18.916 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:18.917 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=2.364196ms] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:18.919 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestAddIndex3 (2.54s) === RUN TestMultiSchemaChangeMixedWithUpdate [2024/05/06 10:43:18.931 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:18.932 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:18.932 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:18.932 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:18.932 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:18.933 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:18.935 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fdca9b4c-573a-403f-9a7e-544f5524fb3d] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:18.943 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:18.943 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:18.944 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomain\n\tpkg/testkit/mockstore.go:265\ngithub.com/pingcap/tidb/pkg/ddl_test.TestMultiSchemaChangeMixedWithUpdate\n\tpkg/ddl/multi_schema_change_test.go:765\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:18.965 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=21.630412ms] [2024/05/06 10:43:18.966 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:18.966 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=25a78705-aea4-4245-946a-bd4c39a165c4] [runWorker=true] [2024/05/06 10:43:18.966 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:18.966 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:18.966 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:18.966 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:18.966 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:18.966 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:18.967 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:18.967 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:18.972 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:18.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:18.972 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:18.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:18.978 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.008 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=28.399456ms] [2024/05/06 10:43:19.009 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:19.011 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:19.012 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=32.709876ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:18.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.020 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:18.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.023 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:19.023 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.023 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:19.024 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:19.030 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.030 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:19.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.045 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.122306ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.046 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.046 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:19.059 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.164681ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.065 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.072 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:19.072 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.073 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:19.076 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.076 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:19.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=324.593Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.089 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.089 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:19.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.680392ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.096 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.099 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:19.099 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.099 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:19.102 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.102 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:19.108 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.111 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=257.013Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.113 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.113 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:19.113 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=2.278802ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.119 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.101 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.122 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:19.122 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.123 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:19.134 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.135 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:19.141 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=799.971Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.149 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.149 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:19.150 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.034427ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.157 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.125 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.161 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:19.161 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.162 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:19.165 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.165 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:19.172 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.178 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=420.739Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.179 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:19.179 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.052919ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.183 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.187 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:19.187 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.187 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:19.190 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.190 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:19.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.206 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=503.869Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.207 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.207 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:19.210 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=4.665257ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.215 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.219 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:19.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.219 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:19.222 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.222 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:19.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=204.787Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.235 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.235 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:19.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.941281ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.242 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.221 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.248 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:19.248 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.248 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:19.255 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.255 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:19.261 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.266 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=251.857Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.267 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.267 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:19.267 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.047293ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.278 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.282 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:19.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.282 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:19.285 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.285 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:19.296 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.299 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=247.241Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.301 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:19.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.210732ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.310 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.314 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:19.314 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.315 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:19.317 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.318 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:19.327 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.330 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=362.74Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.331 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.331 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:19.332 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.297548ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.339 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.344 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:19.344 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.344 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:19.344 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:19.348 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.348 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:19.356 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.361 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=506.577Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.363 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:19.363 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.756414ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.370 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.346 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.374 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:19.374 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.375 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:19.377 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.377 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:19.386 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.390 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=314.302Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.391 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.391 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:19.391 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.143997ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.402 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.405 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:19.405 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.406 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:19.410 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.410 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:19.416 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.419 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=345.198Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.421 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.421 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:19.423 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.187933ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.429 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.408 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.432 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:19.432 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.433 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:19.436 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.436 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:19.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=251.553Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.447 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:19.447 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.084908ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.453 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.434 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.457 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:19.457 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.458 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:19.461 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.461 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:19.469 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=347.857Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.475 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:19.476 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.879687ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.483 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.486 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:19.486 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.486 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:19.490 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.490 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:19.497 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=314.224Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.503 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:19.504 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.657994ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.509 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.515 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:19.515 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.515 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:19.522 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.522 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:19.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.544 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=343.806Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.545 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.545 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:19.546 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.916404ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.551 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.52 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.555 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:19.555 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.555 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:19.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:19.574 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.579 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=473.314Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.580 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:19.580 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.17758ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.585 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.557 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.589 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:19.589 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:19.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.594 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:19.599 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.602 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=245.205Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.603 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.603 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:19.605 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.903181ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.609 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.613 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:19.613 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.613 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:19.616 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.616 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:19.621 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=1.070479ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.627 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.627 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:19.628 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=4.05857ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.634 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.637 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:19.637 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.637 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:19.640 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.640 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:19.648 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=209.999Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.652 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:19.653 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.272153ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.659 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.639 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.663 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:19.663 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.663 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:19.667 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.667 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:19.677 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=439.679Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.689 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:19.689 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.056963ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.693 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.665 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.696 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:19.696 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.696 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:19.700 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.700 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:19.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.710 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=278.899Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.711 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.711 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:19.712 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.259379ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.719 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.724 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:19.724 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.724 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:19.727 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.727 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:19.733 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.737 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=231.546Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.738 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.738 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:19.739 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.193909ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.747 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.750 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:19.750 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.750 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:19.753 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.753 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:19.760 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.762 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=243.23Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.764 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.764 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:19.764 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.42157ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.769 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.752 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.774 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:19.774 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.775 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:19.778 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.778 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:19.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.791 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=311.291Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.792 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.792 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:19.793 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=3.021858ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.799 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.802 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:19.802 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.802 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:19.805 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.805 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:19.817 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=297.892Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.821 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.821 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:19.823 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.99813ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.832 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.804 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.836 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:19.836 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.837 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:19.837 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:19.840 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.841 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:19.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.857 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=377.119Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.859 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.859 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:19.859 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.049104ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.863 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.838 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.866 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:19.866 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.867 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:19.870 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.870 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:19.877 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.881 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=364.827Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.882 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.882 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:19.883 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.598125ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.889 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.868 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.892 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:19.892 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.892 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:19.895 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.896 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:19.905 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.909 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=361.363Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.910 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:19.912 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.98445ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.918 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:19.923 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.923 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:19.927 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.927 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:19.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=457.977Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.939 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:19.941 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.607042ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.946 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.925 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.951 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:19.951 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:19.951 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:19.954 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:19.954 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:19.967 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:19.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.977 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=193.268Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:19.978 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:19.979 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:19.979 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.144387ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:19.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.989 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:19.995 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:19.995 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.000 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:19.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.000 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:19.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:20.007 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.011 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=237.033Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:20.012 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.012 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:20.014 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=2.752577ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:19.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.019 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:19.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.024 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:20.024 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.024 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:20.029 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.029 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:20.037 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=359.494Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.042 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:20.043 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=2.576502ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.048 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.026 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.051 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:20.051 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.052 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:20.055 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.055 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:20.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.066 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=249.268Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.068 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.068 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:20.069 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.58129ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.077 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.081 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:20.081 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.081 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:20.085 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.085 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:20.091 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.095 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=248.785Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.097 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.097 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:20.100 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=4.992072ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.106 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.110 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:20.110 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.112 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:20.115 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.115 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:20.124 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.136 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=512.433Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.138 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.138 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:20.138 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=2.303181ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.144 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.113 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.153 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:20.153 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.154 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:20.157 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.157 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:20.164 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=1.547145ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.172 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:20.173 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.321577ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.180 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.155 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.185 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:20.185 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.185 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:20.189 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.189 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:20.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.203 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=620.752Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.204 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.204 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:20.206 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=4.497937ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.211 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.187 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.216 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:20.216 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.217 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:20.220 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.220 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:20.230 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=597.576Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.237 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:20.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=9.126641ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.250 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.255 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:20.256 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.256 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:20.260 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.260 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:20.266 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=616.65Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.274 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:20.281 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=9.435003ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.289 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.258 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.294 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:20.294 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.295 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:20.301 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.301 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:20.307 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=3.630347ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.316 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:20.319 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=8.192347ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.326 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.296 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.330 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:20.330 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.330 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:20.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:20.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.344 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=429.064Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.345 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.345 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:20.346 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=3.047676ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.354 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.362 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:20.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.362 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:20.366 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.366 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:20.374 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.379 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=429.784Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.380 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.380 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:20.383 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=4.77891ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.389 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.393 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:20.393 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.393 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:20.397 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.397 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:20.405 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.412 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=707.471Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.413 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.413 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:20.415 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=4.123378ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.420 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.395 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.424 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:20.424 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.425 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:20.430 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.430 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:20.438 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.442 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=311.662Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.443 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.443 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:20.444 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.332399ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.450 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.454 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:20.454 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.455 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:20.459 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.459 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:20.469 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.473 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=254.68Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.474 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.474 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:20.475 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=2.65558ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.480 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.483 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:20.483 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.484 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:20.487 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.487 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:20.494 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.497 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=291.514Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.498 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.498 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:20.499 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.050846ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.504 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.485 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.508 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:20.508 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.508 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:20.511 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:20.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.511 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:20.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:20.532 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.536 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=162.356Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:20.538 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.539 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:20.539 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.96536ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:20.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.550 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.552 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:20.552 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.556 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:20.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.556 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:20.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:20.567 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.570 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=246.08Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:20.571 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:20.571 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:20.571 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.023972ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:20.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.581 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 61, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.584 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:20.585 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.615 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.648266408s] [2024/05/06 10:43:20.615 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=25a78705-aea4-4245-946a-bd4c39a165c4] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 63, tp add index"] [category=ddl] ["take time"=1.41Β΅s] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 64, tp add index"] [category=ddl] ["take time"=960ns] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 65, tp add index"] [category=ddl] ["take time"=760ns] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 62, tp add index"] [category=ddl] ["take time"=950ns] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 61, tp general"] [category=ddl] ["take time"=850ns] [2024/05/06 10:43:20.615 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:20.615 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:20.615 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:20.618 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=25a78705-aea4-4245-946a-bd4c39a165c4] ["take time"=3.541008ms] [2024/05/06 10:43:20.618 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=25a78705-aea4-4245-946a-bd4c39a165c4] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:20.618 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:20.619 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.748397ms] [2024/05/06 10:43:20.619 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=fdca9b4c-573a-403f-9a7e-544f5524fb3d] ["ddl lease"=500ms] ["stats lease"=-1ns] [2024/05/06 10:43:20.626 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:20.626 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:20.654 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=27.708059ms] [2024/05/06 10:43:20.659 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:20.659 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] [runWorker=true] [2024/05/06 10:43:20.660 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:20.660 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:20.660 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:20.660 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:20.660 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:20.660 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:20.660 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:20.660 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:20.661 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:20.668 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:20.668 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:20.682 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:20.685 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:20.687 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:20.687 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:20.688 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:20.688 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:20.689 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:20.689 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:20.689 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:20.689 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:20.691 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:20.691 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:20.691 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:20.695 +00:00] [INFO] [set.go:170] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:20.696 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=51] [cur_db=test] [sql="create table t (c_1 int, c_2 char(20), c_pos_1 int, c_idx_visible int, c_3 decimal(5, 3), c_drop_1 time, c_4 datetime, c_drop_idx char(10), c_5 time, c_6 double, c_drop_2 int, c_pos_2 char(10), c_add_idx_1 int, c_add_idx_2 char(20), index idx_1(c_1), index idx_2(c_2), index idx_drop(c_drop_idx), index idx_3(c_drop_1), index idx_4(c_4), index idx_5(c_pos_1, c_pos_2), index idx_visible(c_idx_visible));"] [user=] [2024/05/06 10:43:20.699 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:20.699 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (c_1 int, c_2 char(20), c_pos_1 int, c_idx_visible int, c_3 decimal(5, 3), c_drop_1 time, c_4 datetime, c_drop_idx char(10), c_5 time, c_6 double, c_drop_2 int, c_pos_2 char(10), c_add_idx_1 int, c_add_idx_2 char(20), index idx_1(c_1), index idx_2(c_2), index idx_drop(c_drop_idx), index idx_3(c_drop_1), index idx_4(c_4), index idx_5(c_pos_1, c_pos_2), index idx_visible(c_idx_visible));"] [2024/05/06 10:43:20.706 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=11] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.711 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=623.847Β΅s] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:20.713 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:20.717 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=6.88291ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.724 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 66, tp general"] [category=ddl] [jobID=105] [conn=11] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:20.729 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:20.729 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:20.731 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=52] [cur_db=test] [sql="alter table t add index i_add_1(c_add_idx_1), drop index idx_drop, add index i_add_2(c_add_idx_2), modify column c_2 char(100), add column c_add_2 bigint, modify column c_1 bigint, add column c_add_1 bigint, modify column c_5 varchar(255) first, modify column c_4 datetime first, drop column c_drop_1, drop column c_drop_2, modify column c_6 int, alter index idx_visible invisible, modify column c_3 decimal(10, 2);"] [user=] [2024/05/06 10:43:20.735 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:43:20.735 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index i_add_1(c_add_idx_1), drop index idx_drop, add index i_add_2(c_add_idx_2), modify column c_2 char(100), add column c_add_2 bigint, modify column c_1 bigint, add column c_add_1 bigint, modify column c_5 varchar(255) first, modify column c_4 datetime first, drop column c_drop_1, drop column c_drop_2, modify column c_6 int, alter index idx_visible invisible, modify column c_3 decimal(10, 2);"] [2024/05/06 10:43:20.745 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.746 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.748 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.748 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.754 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.754 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.757 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.757 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.763 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.763 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":15,\"name\":{\"O\":\"c_add_2\",\"L\":\"c_add_2\"},\"offset\":14,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:20.763 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.766 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=705.837Β΅s] [gotSchemaVersion=53] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.768 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=53] [2024/05/06 10:43:20.770 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=4.835139ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.771 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.777 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.777 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.778 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.780 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=460.041Β΅s] [gotSchemaVersion=54] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.782 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=54] [2024/05/06 10:43:20.782 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.038766ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.783 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.789 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.789 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.790 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.792 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=543.739Β΅s] [gotSchemaVersion=55] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.793 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=55] [2024/05/06 10:43:20.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=2.520468ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.795 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.800 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.801 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.803 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.804 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.810 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.810 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.810 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:4, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":16,\"name\":{\"O\":\"c_add_1\",\"L\":\"c_add_1\"},\"offset\":15,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:43:20.811 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.813 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=483.743Β΅s] [gotSchemaVersion=56] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.814 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=56] [2024/05/06 10:43:20.814 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.101182ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.815 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.822 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.822 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.824 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.827 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=767.334Β΅s] [gotSchemaVersion=57] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.828 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=57] [2024/05/06 10:43:20.831 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=5.073209ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.832 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.838 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.839 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=554.546Β΅s] [gotSchemaVersion=58] [phyTblIDs="[104]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:43:20.843 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=58] [2024/05/06 10:43:20.844 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=3.036586ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.845 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.851 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.851 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.852 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=772.16Β΅s] [gotSchemaVersion=59] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:20.857 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=59] [2024/05/06 10:43:20.861 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=6.775134ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.862 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.871 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.871 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.872 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.875 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=757.075Β΅s] [gotSchemaVersion=60] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:20.876 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=60] [2024/05/06 10:43:20.878 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=4.590407ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.879 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.886 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.887 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.890 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=792.014Β΅s] [gotSchemaVersion=61] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:20.892 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=61] [2024/05/06 10:43:20.894 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=4.715829ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.895 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.900 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.900 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.901 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:20.903 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.905 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.905 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.912 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.912 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915512991744, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.914 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915512991744, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:17,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/06 10:43:20.915 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/06 10:43:20.916 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=439.893Β΅s] [2024/05/06 10:43:20.916 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/06 10:43:20.916 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:17,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/06 10:43:20.916 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 10:43:20.948 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.950 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.950 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.956 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.956 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.958 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.964 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.966 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.966 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.973 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.973 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.974 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.976 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:20.976 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.982 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.982 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.983 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=787.537Β΅s] [gotSchemaVersion=62] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:20.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=62] [2024/05/06 10:43:20.989 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=4.087687ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.990 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.997 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:20.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:20.998 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=919.975Β΅s] [gotSchemaVersion=63] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:21.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=63] [2024/05/06 10:43:21.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=4.252503ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.006 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.013 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.013 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.017 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=792.207Β΅s] [gotSchemaVersion=64] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:21.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=64] [2024/05/06 10:43:21.024 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=4.949576ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.025 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.031 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.031 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.032 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.034 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.036 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.036 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.042 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.042 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915547332608, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.044 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915547332608, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:18,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/06 10:43:21.045 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/06 10:43:21.047 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=1.025513ms] [2024/05/06 10:43:21.047 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/06 10:43:21.047 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/06 10:43:21.047 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 10:43:21.082 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.084 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.085 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.091 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.091 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:alter index visibility, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.091 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.093 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.093 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.099 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.099 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.100 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=584.564Β΅s] [gotSchemaVersion=65] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:21.104 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=65] [2024/05/06 10:43:21.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=2.274477ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.110 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.110 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.111 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.113 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=756.704Β΅s] [gotSchemaVersion=66] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:21.115 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=66] [2024/05/06 10:43:21.117 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=4.040817ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.118 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.124 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.124 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.125 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.129 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=927.723Β΅s] [gotSchemaVersion=67] [phyTblIDs="[104]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:43:21.131 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=67] [2024/05/06 10:43:21.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=4.636637ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.134 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.142 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.142 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.143 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.147 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.148 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.155 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.155 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915576168449, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.157 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:8, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915576168449, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_col_,CurrElementID:19,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 10:43:21.157 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=106] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=106] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=106] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=1] ["scan count"=1] ["next key"=7480000000000000685f7280000000000000010000] ["take time"=458.677Β΅s] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=106] [2024/05/06 10:43:21.158 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:19,TypeKey:_col_] ["total added count"=1] ["start key"=7480000000000000685f728000000000000001] [2024/05/06 10:43:21.159 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=1] [2024/05/06 10:43:21.197 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.199 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.200 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.207 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.207 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [indexInfo="{\"id\":8,\"idx_name\":{\"O\":\"i_add_1\",\"L\":\"i_add_1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c_add_idx_1\",\"L\":\"c_add_idx_1\"},\"offset\":12,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:43:21.207 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [indexInfo="{\"id\":9,\"idx_name\":{\"O\":\"i_add_2\",\"L\":\"i_add_2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c_add_idx_2\",\"L\":\"c_add_idx_2\"},\"offset\":13,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:43:21.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.211 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=906.345Β΅s] [gotSchemaVersion=68] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:21.213 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=68] [2024/05/06 10:43:21.214 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=4.054367ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.215 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.220 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.221 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.225 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=924.926Β΅s] [gotSchemaVersion=69] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:21.226 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=69] [2024/05/06 10:43:21.228 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=4.201726ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.229 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.234 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.234 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.235 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.238 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=777.579Β΅s] [gotSchemaVersion=70] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:21.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=70] [2024/05/06 10:43:21.242 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=4.589131ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.243 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.249 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.249 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.250 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=106] [physicalTableID=104] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.252 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.253 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.254 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.259 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.259 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915604217857, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:43:21.261 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915604217857, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:7480000000000000685f728000000000000001,EndKey:7480000000000000685f72800000000000000100,First:false,PhysicalTableID:104,Ingest mode:false"] [2024/05/06 10:43:21.262 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=104] ["start key"=7480000000000000685f728000000000000001] ["end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.262 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=7480000000000000685f728000000000000001] [endKey=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.263 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=104] ["end key"=7480000000000000685f72800000000000000100] ["current end key"=7480000000000000685f72800000000000000100] [2024/05/06 10:43:21.263 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 104, range: [7480000000000000685f728000000000000001, 7480000000000000685f72800000000000000100), jobID: 106"] ["added count"=2] ["scan count"=2] ["next key"=7480000000000000685f72800000000000000100] ["take time"=544.691Β΅s] [2024/05/06 10:43:21.263 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=106] [2024/05/06 10:43:21.264 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=106] [2024/05/06 10:43:21.264 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=106] [2024/05/06 10:43:21.264 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=106] [2024/05/06 10:43:21.264 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2] ["start key"=7480000000000000685f728000000000000001] [2024/05/06 10:43:21.264 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2] [2024/05/06 10:43:21.296 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.300 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=856.323Β΅s] [gotSchemaVersion=71] [phyTblIDs="[104]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:43:21.301 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=71] [2024/05/06 10:43:21.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=4.379025ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.304 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.309 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.310 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.312 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.312 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915512991744, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.313 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.314 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.314 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.315 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915547332608, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.315 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:alter index visibility, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:1, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915576168449, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.317 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:2, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574915604217857, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.318 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 10:43:21.318 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.322 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=880.962Β΅s] [gotSchemaVersion=72] [phyTblIDs="[104]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:43:21.323 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=72] [2024/05/06 10:43:21.325 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=4.028629ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.326 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.332 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.332 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.333 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.337 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=852.743Β΅s] [gotSchemaVersion=73] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/06 10:43:21.339 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=73] [2024/05/06 10:43:21.341 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=4.340016ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.342 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.349 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.349 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.350 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.354 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=603.41Β΅s] [gotSchemaVersion=74] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/06 10:43:21.355 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=74] [2024/05/06 10:43:21.357 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=4.257701ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.358 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.367 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.367 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.368 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.375 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=764.785Β΅s] [gotSchemaVersion=75] [phyTblIDs="[104]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2024/05/06 10:43:21.376 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=75] [2024/05/06 10:43:21.379 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=4.663338ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.380 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.388 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.392 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=738.441Β΅s] [gotSchemaVersion=76] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.393 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=76] [2024/05/06 10:43:21.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=4.765219ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.397 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.403 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.405 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.408 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=618.131Β΅s] [gotSchemaVersion=77] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.409 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=77] [2024/05/06 10:43:21.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=2.04161ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.410 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.417 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.417 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 67, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.418 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.421 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=78] ["start time"=547.263Β΅s] [gotSchemaVersion=78] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.422 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=78] [2024/05/06 10:43:21.425 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=4.637492ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.426 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.434 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.434 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 70, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.435 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=78] [neededSchemaVersion=79] ["start time"=564.581Β΅s] [gotSchemaVersion=79] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.440 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=79] [2024/05/06 10:43:21.443 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=4.889574ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.444 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.452 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.457 +00:00] [INFO] [set.go:170] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:21.460 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.461 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.466 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=80] ["start time"=830.272Β΅s] [gotSchemaVersion=80] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.467 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=80] [2024/05/06 10:43:21.470 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=4.670809ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.471 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.478 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.478 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 68, tp add index"] [category=ddl] [jobID=106] [conn=11] [category=ddl] [job="ID:106, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:43:21.479 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=80] [neededSchemaVersion=81] ["start time"=515.883Β΅s] [gotSchemaVersion=81] [phyTblIDs="[104]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:43:21.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=106] [version=81] [2024/05/06 10:43:21.484 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=2.509173ms] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.485 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.490 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.491 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.493 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.493 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.498 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[3]"] [comment="drop index: table ID"] [2024/05/06 10:43:21.500 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[4]"] [comment="drop column: table ID"] [2024/05/06 10:43:21.501 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065160]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:21.501 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=106] [tableID=104] [indexIDs="[9223090561878065161]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:43:21.502 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=106] [jobType="alter table multi-schema change"] [2024/05/06 10:43:21.503 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 69, tp add index"] [category=ddl] [jobID=106] [conn=11] [job="ID:106, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.507 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=1] [startKey=7480000000000000685f698000000000000003] [endKey=7480000000000000685f698000000000000004] [2024/05/06 10:43:21.508 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:106, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:20.733 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:43:21.510 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=2] [startKey=7480000000000000685f698000000000000004] [endKey=7480000000000000685f698000000000000005] [2024/05/06 10:43:21.511 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=106] [2024/05/06 10:43:21.511 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.512 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=3] [startKey=7480000000000000685f69ffff000000000008] [endKey=7480000000000000685f69ffff000000000009] [2024/05/06 10:43:21.513 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=106] [elementID=4] [startKey=7480000000000000685f69ffff000000000009] [endKey=7480000000000000685f69ffff00000000000a] [2024/05/06 10:43:21.513 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:21.513 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:21.513 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 68, tp add index"] [category=ddl] ["take time"=1.834Β΅s] [2024/05/06 10:43:21.513 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 70, tp add index"] [category=ddl] ["take time"=1.494Β΅s] [2024/05/06 10:43:21.513 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 69, tp add index"] [category=ddl] ["take time"=1.047Β΅s] [2024/05/06 10:43:21.514 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 67, tp add index"] [category=ddl] ["take time"=1.54Β΅s] [2024/05/06 10:43:21.514 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:21.514 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 66, tp general"] [category=ddl] ["take time"=1.635Β΅s] [2024/05/06 10:43:21.514 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:21.514 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:21.514 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:21.515 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] ["take time"=3.798851ms] [2024/05/06 10:43:21.515 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] [2024/05/06 10:43:21.515 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:21.515 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:21.515 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:21.515 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:21.515 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:21.516 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=d3ff0181-f39e-4297-a0ca-ae4734f97a41] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:21.516 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:21.516 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:21.516 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:21.517 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.856351ms] [2024/05/06 10:43:21.520 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:21.520 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:21.520 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:21.521 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:21.521 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:21.521 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- PASS: TestMultiSchemaChangeMixedWithUpdate (2.59s) === RUN TestRepairTable [2024/05/06 10:43:21.539 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:43:21.539 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.539 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.539 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.539 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.540 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.542 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9a2e1bf9-e238-4f5b-a591-d4ff75cb4d41] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:21.548 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:21.549 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:21.549 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:42\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:43:21.561 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=12.471834ms] [2024/05/06 10:43:21.562 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:21.562 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=89ce96a8-a5eb-454a-9926-abfeaa3a2250] [runWorker=true] [2024/05/06 10:43:21.563 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:21.563 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:21.563 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:21.563 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:21.563 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:21.563 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:21.563 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:21.564 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:21.567 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:43:21.570 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:21.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.570 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:21.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:43:21.614 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:21.614 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:21.621 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.643 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=19.075223ms] [2024/05/06 10:43:21.644 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:21.646 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.646 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:43:21.647 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=24.02071ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:21.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.653 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.569 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.655 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:43:21.655 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.656 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:43:21.657 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:43:21.664 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.664 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:43:21.672 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.682 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=1.271697ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.683 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.683 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:43:21.685 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.342608ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.694 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.700 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:43:21.700 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.700 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:43:21.703 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.703 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:43:21.709 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.713 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=314.113Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.714 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.714 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:43:21.716 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=3.962117ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.731 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.702 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.734 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:43:21.735 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.736 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:43:21.739 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.739 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:43:21.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=275.419Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.750 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:43:21.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=3.95666ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.757 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.738 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.761 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:43:21.761 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.761 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:43:21.765 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.765 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:43:21.771 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.777 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=519.085Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.778 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.778 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:43:21.779 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=2.93639ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.785 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.763 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.789 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:43:21.789 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.790 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:43:21.793 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.793 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:43:21.800 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=488.265Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.806 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:43:21.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=4.728249ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.814 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.791 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.818 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:43:21.818 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.819 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:43:21.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:43:21.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=404.992Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.836 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:43:21.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.589614ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.843 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.82 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.847 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:43:21.847 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.848 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:43:21.851 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.851 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:43:21.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=190.033Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.862 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.862 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:43:21.863 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.517686ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.869 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.873 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:43:21.873 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.873 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:43:21.876 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.876 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:43:21.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.886 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=289.494Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.888 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:43:21.889 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=2.855162ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.895 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.898 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:43:21.898 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.898 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:43:21.901 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.901 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:43:21.909 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.912 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=250.524Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.913 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.913 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:43:21.914 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.289489ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.924 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.928 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:43:21.928 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.928 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:43:21.931 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.931 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:43:21.938 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.941 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=368.636Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.943 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.943 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:43:21.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=5.54406ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.953 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.93 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.957 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:43:21.957 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.957 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:21.957 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:21.961 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.961 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:21.968 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=493.339Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:21.974 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:21.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:43:21.974 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=2.140959ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.981 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:21.986 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:43:21.986 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:21.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:43:21.990 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:21.990 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:43:21.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=438.306Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.004 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:43:22.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=7.899972ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:21.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.017 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:21.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.021 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:43:22.021 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.022 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:22.025 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.025 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:22.033 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.037 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=353.481Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.038 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.038 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:43:22.040 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=3.044943ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.048 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.024 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.052 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:43:22.052 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.053 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:43:22.056 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.056 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:43:22.065 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.069 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=333.84Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.070 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.070 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:43:22.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.052586ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.076 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.054 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.079 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:43:22.079 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.079 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:22.083 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.083 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:22.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.100 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=270.194Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.101 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.101 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:43:22.102 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.640601ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.111 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.081 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.116 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:43:22.116 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.116 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:43:22.120 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.120 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:43:22.137 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.141 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=300.585Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.143 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.143 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:43:22.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=2.054192ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.151 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.157 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:43:22.157 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.157 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:43:22.160 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.160 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:43:22.173 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.177 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=369.948Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.179 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.179 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:43:22.179 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.257892ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.189 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.193 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:43:22.193 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.194 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:22.197 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.197 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:22.205 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.209 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=541.483Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.211 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.211 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:43:22.213 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=4.033503ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.227 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.195 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.231 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:43:22.231 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.233 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:22.236 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.236 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:22.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.246 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=349.019Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.248 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.248 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:43:22.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=2.126373ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.254 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.257 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:43:22.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.258 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:43:22.260 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.261 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:43:22.269 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=251.127Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.273 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.273 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:43:22.273 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.022284ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.279 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.282 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:43:22.282 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.282 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:43:22.285 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.285 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:43:22.294 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.296 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=193.613Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.298 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:43:22.298 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.103202ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.303 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.284 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.306 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:43:22.306 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.306 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:43:22.309 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.309 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:43:22.317 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=421.971Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.322 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:43:22.323 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=2.990948ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.328 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.308 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.331 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:43:22.331 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.332 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:43:22.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:43:22.341 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.343 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=240.58Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.344 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.344 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:43:22.345 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.335253ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.350 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.333 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.353 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:43:22.354 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.354 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:43:22.357 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.357 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:43:22.366 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.370 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=695.055Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.372 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.372 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:43:22.377 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=7.797093ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.385 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.355 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.389 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:43:22.389 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.389 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:43:22.392 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.392 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:43:22.400 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.403 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=222.502Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.404 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:43:22.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.939909ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.412 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.391 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.415 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:43:22.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.415 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:22.418 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.418 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:43:22.423 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.426 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=317.856Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.428 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:43:22.428 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=2.069993ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.434 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.417 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.438 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:43:22.438 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.439 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:43:22.442 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.442 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:43:22.451 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.455 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=349.8Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.456 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.456 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:43:22.459 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=4.655782ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.466 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.44 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.469 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:43:22.469 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.470 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:43:22.470 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:43:22.474 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.474 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:43:22.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.484 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=234.401Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.485 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.485 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:43:22.485 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.018042ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.490 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.472 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.494 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:43:22.494 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.495 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:22.498 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.498 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:22.504 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.508 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=397.716Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.509 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.509 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:43:22.509 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=2.306635ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.515 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.520 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:43:22.520 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.520 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:43:22.523 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.523 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:43:22.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.538 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=311.619Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.539 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.539 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:43:22.540 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=2.426692ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.545 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.522 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.550 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:43:22.550 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.551 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:43:22.554 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.554 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:43:22.561 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.565 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:43:22.566 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=573.134Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.568 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.568 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:43:22.570 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=4.172384ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.576 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.552 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.580 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:43:22.580 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.580 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:43:22.583 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.583 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:43:22.591 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.593 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=235.947Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.595 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.595 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:43:22.595 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.327551ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.601 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.604 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:43:22.604 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.609 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:22.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.609 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:22.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:43:22.618 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.622 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=362.158Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:22.623 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.623 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:43:22.626 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=4.36068ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:22.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.632 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.607 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.636 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:43:22.636 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.636 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:43:22.640 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.640 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:43:22.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=379.31Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.653 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.653 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:43:22.655 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=4.097364ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.661 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.638 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.665 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:43:22.665 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.666 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:43:22.669 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.669 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:43:22.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.679 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=407.397Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.681 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:43:22.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=4.063616ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.690 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.667 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.693 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:43:22.693 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.694 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:43:22.697 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.697 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:43:22.708 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.711 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=291.441Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.712 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.712 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:43:22.713 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.307455ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.730 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.695 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.734 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:43:22.734 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.734 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:43:22.738 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.738 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:43:22.746 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=543.16Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.753 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:43:22.756 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=5.059607ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.763 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.736 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.767 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:43:22.767 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.768 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:43:22.772 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.772 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:43:22.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.785 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=390.362Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.787 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:43:22.787 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=2.089379ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.792 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.77 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.796 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:43:22.796 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.797 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:43:22.800 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.800 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:43:22.813 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=488.931Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.821 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.821 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:43:22.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.513916ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.829 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.835 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:43:22.835 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.835 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:22.839 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.839 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:22.847 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=591.561Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.857 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.857 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:43:22.859 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=4.331823ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.867 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.872 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:43:22.872 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.873 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:43:22.880 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.880 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:43:22.890 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.898 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=2.74364ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.899 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.899 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:43:22.901 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=6.054361ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.907 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.875 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.912 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:43:22.912 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.913 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:43:22.917 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.917 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:43:22.925 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.929 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=406.702Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.931 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:43:22.934 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=5.067313ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.941 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.946 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:43:22.946 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.947 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:22.950 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.950 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:22.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.964 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=420.797Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.965 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:43:22.968 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=4.851511ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.974 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.979 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:43:22.979 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:22.979 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:22.982 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:22.983 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:22.991 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:22.995 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=375.877Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:22.996 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:22.996 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:43:22.996 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=2.018484ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:22.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.001 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:22.981 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.006 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:43:23.006 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.007 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:43:23.011 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.011 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:43:23.022 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.029 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=657.25Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.030 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:43:23.031 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=3.064536ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.038 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.046 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:43:23.046 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.046 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:43:23.052 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.052 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:43:23.061 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.065 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=321.443Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.066 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.066 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:43:23.067 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=2.540115ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.074 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.078 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:43:23.078 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.078 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:43:23.082 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.082 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:43:23.094 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=267.371Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.099 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.099 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:43:23.103 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=6.658243ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.109 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.08 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.112 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:43:23.112 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.113 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:43:23.116 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.116 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:43:23.123 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.127 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=342.011Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.128 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.128 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:43:23.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=2.033016ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.138 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.141 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:43:23.142 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.142 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:43:23.144 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.144 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:43:23.154 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=116Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:43:23.157 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.157 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:43:23.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.855547ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.163 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.166 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:43:23.166 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.169 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:23.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.169 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:23.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:43:23.177 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.180 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=253.401Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:43:23.181 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:43:23.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:43:23.181 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.114082ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:43:23.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.186 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 71, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.167 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.189 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:43:23.189 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.223 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.659699224s] [2024/05/06 10:43:23.223 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=89ce96a8-a5eb-454a-9926-abfeaa3a2250] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 74, tp add index"] [category=ddl] ["take time"=1.757Β΅s] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 75, tp add index"] [category=ddl] ["take time"=1.176Β΅s] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 72, tp add index"] [category=ddl] ["take time"=1.045Β΅s] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 73, tp add index"] [category=ddl] ["take time"=1.205Β΅s] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 71, tp general"] [category=ddl] ["take time"=1.172Β΅s] [2024/05/06 10:43:23.223 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.223 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:23.223 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:23.226 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=89ce96a8-a5eb-454a-9926-abfeaa3a2250] ["take time"=3.289704ms] [2024/05/06 10:43:23.227 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=89ce96a8-a5eb-454a-9926-abfeaa3a2250] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:23.227 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:23.227 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.516817ms] [2024/05/06 10:43:23.227 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=9a2e1bf9-e238-4f5b-a591-d4ff75cb4d41] ["ddl lease"=600ms] ["stats lease"=-1ns] [2024/05/06 10:43:23.233 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:43:23.233 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:43:23.263 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=29.673803ms] [2024/05/06 10:43:23.268 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:23.268 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] [runWorker=true] [2024/05/06 10:43:23.269 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:43:23.269 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:43:23.269 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:23.270 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:43:23.270 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:43:23.270 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:43:23.270 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:43:23.270 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:43:23.270 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:43:23.271 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:43:23.278 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:23.278 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:43:23.292 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:23.295 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:23.297 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:23.297 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:43:23.297 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:23.298 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:23.298 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:23.299 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:23.299 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:43:23.299 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:43:23.303 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:23.304 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:43:23.304 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:43:23.305 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=51] [cur_db=test] [sql="CREATE TABLE t (a int primary key nonclustered, b varchar(10));"] [user=] [2024/05/06 10:43:23.308 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.308 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE t (a int primary key nonclustered, b varchar(10));"] [2024/05/06 10:43:23.313 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=13] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.316 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=false) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=false) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:23.327 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=11.816709ms] [2024/05/06 10:43:23.328 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:23.329 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2024/05/06 10:43:23.335 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=19.195492ms] [job="ID:105, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.346 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=105] [conn=13] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.306 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.349 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:43:23.349 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.350 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: TiDB is not in REPAIR MODE"] [errorVerbose="[ddl:8215]Failed to repair table: TiDB is not in REPAIR MODE\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).checkRepairTableGrammar\n\tpkg/planner/core/preprocess.go:1191\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:346\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2048\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/06 10:43:23.350 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: repair list is empty"] [errorVerbose="[ddl:8215]Failed to repair table: repair list is empty\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).checkRepairTableGrammar\n\tpkg/planner/core/preprocess.go:1195\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Enter\n\tpkg/planner/core/preprocess.go:346\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2048\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:52\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/06 10:43:23.350 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: database test is not in repair"] [errorVerbose="[ddl:8215]Failed to repair table: database test is not in repair\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleRepairName\n\tpkg/planner/core/preprocess.go:1620\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1561\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:596\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:56\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/06 10:43:23.350 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=52] [cur_db=test] [sql="CREATE TABLE other_table (a int, b varchar(1), key using hash(b));"] [user=] [2024/05/06 10:43:23.353 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.353 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE other_table (a int, b varchar(1), key using hash(b));"] [2024/05/06 10:43:23.360 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=13] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.362 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=206.379Β΅s] [gotSchemaVersion=53] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2024/05/06 10:43:23.366 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=3.679723ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.373 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=107] [conn=13] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.352 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.377 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 10:43:23.377 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.377 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: table t is not in repair"] [errorVerbose="[ddl:8215]Failed to repair table: table t is not in repair\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleRepairName\n\tpkg/planner/core/preprocess.go:1624\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1561\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:596\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:60\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table t CREATE TABLE t (a float primary key, b varchar(5));"] [2024/05/06 10:43:23.378 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[schema:1146]Table 'test.other_table' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.other_table' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:63\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="select * from other_table"] [2024/05/06 10:43:23.378 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:1103]Incorrect table name 'other_table'%!(EXTRA string=this table is in repair)"] [errorVerbose="[ddl:1103]Incorrect table name 'other_table'%!(EXTRA string=this table is in repair)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).checkNotInRepair\n\tpkg/planner/core/preprocess.go:1607\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1554\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:596\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*CreateTableStmt).Accept\n\tpkg/parser/ast/ddl.go:1168\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:66\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="CREATE TABLE other_table (a int);"] [2024/05/06 10:43:23.378 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:23.378 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Column c has lost"] [errorVerbose="[ddl:8215]Failed to repair table: Column c has lost\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RepairTable\n\tpkg/ddl/ddl_api.go:8504\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:69\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:23.379 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:23.379 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Column a type should be the same"] [errorVerbose="[ddl:8215]Failed to repair table: Column a type should be the same\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RepairTable\n\tpkg/ddl/ddl_api.go:8507\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:72\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:23.379 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:23.379 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Index a has lost"] [errorVerbose="[ddl:8215]Failed to repair table: Index a has lost\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RepairTable\n\tpkg/ddl/ddl_api.go:8518\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:75\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:23.379 +00:00] [WARN] [ddl_api.go:8510] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/06 10:43:23.379 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:43:23.379 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8215]Failed to repair table: Index b type should be the same"] [errorVerbose="[ddl:8215]Failed to repair table: Index b type should be the same\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RepairTable\n\tpkg/ddl/ddl_api.go:8521\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRepairTable\n\tpkg/executor/ddl.go:734\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:199\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:78\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 13,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:43:23.382 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.382 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table other_table CREATE TABLE other_table (a int);"] [2024/05/06 10:43:23.390 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=13] [category=ddl] [job="ID:108, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.392 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=158.512Β΅s] [gotSchemaVersion=54] [phyTblIDs="[106]"] [actionTypes="[29]"] [diffTypes="[\"repair table\"]"] [2024/05/06 10:43:23.394 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=108] [version=54] [2024/05/06 10:43:23.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=2.339069ms] [job="ID:108, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.399 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=108] [conn=13] [job="ID:108, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.381 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.402 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=108] [2024/05/06 10:43:23.402 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.402 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=54] [cur_db=test] [sql="CREATE TABLE otHer_tAblE2 (a int, b varchar(1));"] [user=] [2024/05/06 10:43:23.404 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.404 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE otHer_tAblE2 (a int, b varchar(1));"] [2024/05/06 10:43:23.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=13] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.414 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=129.187Β΅s] [gotSchemaVersion=55] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.415 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=55] [2024/05/06 10:43:23.421 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=7.57491ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.431 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=110] [conn=13] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.434 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 10:43:23.434 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.434 +00:00] [WARN] [ddl_api.go:8510] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/06 10:43:23.437 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.437 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table otHer_tAblE2 CREATE TABLE otHeR_tAbLe (a int, b varchar(2));"] [2024/05/06 10:43:23.448 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=111] [conn=13] [category=ddl] [job="ID:111, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.451 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=204.716Β΅s] [gotSchemaVersion=56] [phyTblIDs="[109]"] [actionTypes="[29]"] [diffTypes="[\"repair table\"]"] [2024/05/06 10:43:23.453 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=111] [version=56] [2024/05/06 10:43:23.453 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=2.068187ms] [job="ID:111, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.461 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=111] [conn=13] [job="ID:111, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:109, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.435 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.467 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=111] [2024/05/06 10:43:23.467 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.468 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[ddl:8215]Failed to repair table: memory or system database is not for repair"] [errorVerbose="[ddl:8215]Failed to repair table: memory or system database is not for repair\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleRepairName\n\tpkg/planner/core/preprocess.go:1614\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).handleTableName\n\tpkg/planner/core/preprocess.go:1561\ngithub.com/pingcap/tidb/pkg/planner/core.(*preprocessor).Leave\n\tpkg/planner/core/preprocess.go:596\ngithub.com/pingcap/tidb/pkg/parser/ast.(*TableName).Accept\n\tpkg/parser/ast/dml.go:452\ngithub.com/pingcap/tidb/pkg/parser/ast.(*RepairTableStmt).Accept\n\tpkg/parser/ast/ddl.go:2053\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:138\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:436\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrMsg\n\tpkg/testkit/testkit.go:480\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable\n\tpkg/ddl/repair_table_test.go:94\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="admin repair table performance_schema.xxx CREATE TABLE yyy (a int);"] [2024/05/06 10:43:23.468 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=56] [cur_db=test] [sql="CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(10), c int);"] [user=] [2024/05/06 10:43:23.475 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.475 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(10), c int);"] [2024/05/06 10:43:23.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=13] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.490 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=246.784Β΅s] [gotSchemaVersion=57] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:43:23.491 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=57] [2024/05/06 10:43:23.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=3.276023ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:2, start time: 2024-05-06 10:43:23.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.499 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=113] [conn=13] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.473 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.504 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=113] [2024/05/06 10:43:23.505 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:43:23.505 +00:00] [WARN] [ddl_api.go:8510] ["admin repair table : Column b flen is not equal to the old one"] [category=ddl] [2024/05/06 10:43:23.508 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:43:23.508 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="admin repair table origin CREATE TABLE origin (a int primary key nonclustered auto_increment, b varchar(5), c int);"] [2024/05/06 10:43:23.518 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.523 +00:00] [INFO] [set.go:170] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:43:23.523 +00:00] [WARN] [session.go:2111] ["compile SQL failed"] [error="[schema:1146]Table 'test.origin' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.origin' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/ddl_test.TestRepairTable.func2\n\tpkg/ddl/repair_table_test.go:121\ngithub.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobRunBefore\n\tpkg/ddl/util/callback/callback.go:98\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:941\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [SQL="select * from origin"] [2024/05/06 10:43:23.523 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=13] [category=ddl] [job="ID:114, Type:repair table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.524 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.526 +00:00] [ERROR] [domain.go:291] ["failed to load schema diff"] [error="builder's (v2=true) infoschema mismatch, return error to trigger full reload"] [errorVerbose="builder's (v2=true) infoschema mismatch, return error to trigger full reload\ngithub.com/pingcap/tidb/pkg/infoschema.(*Builder).InitWithOldInfoSchema\n\tpkg/infoschema/builder.go:798\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:459\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:276\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:291\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:919\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init.func2\n\tpkg/domain/domain.go:1287\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99"] [2024/05/06 10:43:23.557 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=31.219976ms] [2024/05/06 10:43:23.563 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:43:23.565 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2024/05/06 10:43:23.567 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=40.924269ms] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:repair table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.574 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 76, tp general"] [category=ddl] [jobID=114] [conn=13] [job="ID:114, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:repair table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2024-05-06 10:43:23.506 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:43:23.577 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=114] [2024/05/06 10:43:23.577 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] util.go:36: Error Trace: pkg/testkit/external/util.go:36 pkg/ddl/repair_table_test.go:137 Error: Received unexpected error: [schema:1146]Table 'test.origin' doesn't exist Test: TestRepairTable [2024/05/06 10:43:23.578 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 79, tp add index"] [category=ddl] ["take time"=1.682Β΅s] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 80, tp add index"] [category=ddl] ["take time"=1.219Β΅s] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 77, tp add index"] [category=ddl] ["take time"=1.092Β΅s] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 78, tp add index"] [category=ddl] ["take time"=1.205Β΅s] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 76, tp general"] [category=ddl] ["take time"=713ns] [2024/05/06 10:43:23.578 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:43:23.578 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:43:23.578 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:43:23.579 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] ["take time"=1.260077ms] [2024/05/06 10:43:23.579 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] [2024/05/06 10:43:23.579 +00:00] [INFO] [domain.go:1026] ["stopping ttlJobManager"] [2024/05/06 10:43:23.579 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:23.579 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [scan.go:309] ["ttlScanWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [task_manager.go:194] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:43:23.579 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:23.579 +00:00] [INFO] [del.go:261] ["ttlDeleteWorker loop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [job_manager.go:174] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1037] ["ttlJobManager exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [manager.go:280] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1527] ["stopping dist task executor manager"] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1700] ["loadPrivilegeInLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] [ownerKey=/tidb/bindinfo/owner] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1889] ["globalBindHandleWorkerLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:43:23.580 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:43:23.580 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=76f47283-f058-4044-984a-9f088a6a47e8] [ownerKey=/tidb/stats/owner] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:2352] ["indexUsageWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [stats_syncload.go:202] ["SubLoadWorker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:2074] ["dumpFileGcChecker exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:43:23.580 +00:00] [INFO] [manager.go:179] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1529] ["dist task executor manager stopped"] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:43:23.580 +00:00] [INFO] [domain.go:1750] ["LoadSysVarCacheLoop exited."] [2024/05/06 10:43:23.580 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:43:23.581 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=3.108092ms] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:567] ["Closing database"] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:592] ["Memtable flushed"] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:596] ["Compaction finished"] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:615] ["BlobManager finished"] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:619] ["ResourceManager finished"] [2024/05/06 10:43:23.581 +00:00] [INFO] [db.go:625] ["Waiting for closer"] --- FAIL: TestRepairTable (2.06s) FAIL coverage: 11.9% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/11171/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/ddl/ddl_test_/ddl_test.runfiles/__main__/pkg/ddl/ddl_test_/ddl_test ================================================================================ [12,167 / 12,885] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 179s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,170 / 12,885] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 180s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,173 / 12,936] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 181s remote-cache, linux-sandbox ... (70 actions running) [12,179 / 12,936] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 182s remote-cache, linux-sandbox ... (70 actions running) [12,182 / 12,936] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 184s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,185 / 12,936] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 185s remote-cache, linux-sandbox ... (70 actions running) [12,187 / 12,936] 273 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 186s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,194 / 12,936] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 188s remote-cache, linux-sandbox ... (70 actions running) [12,200 / 12,936] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 189s remote-cache, linux-sandbox ... (70 actions running) [12,204 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 190s remote-cache, linux-sandbox ... (70 actions running) [12,207 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 191s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,212 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 193s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,213 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 194s remote-cache, linux-sandbox ... (70 actions running) [12,215 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 195s remote-cache, linux-sandbox ... (70 actions running) [12,216 / 12,938] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 197s remote-cache, linux-sandbox ... (70 actions running) [12,218 / 12,958] 274 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 198s remote-cache, linux-sandbox ... (69 actions running) [12,226 / 12,964] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 199s remote-cache, linux-sandbox ... (70 actions running) [12,228 / 12,964] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 200s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,234 / 12,993] 275 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 201s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,235 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 202s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,236 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 204s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,239 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 205s remote-cache, linux-sandbox ... (70 actions running) [12,241 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 206s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,243 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 208s remote-cache, linux-sandbox ... (70 actions running) [12,245 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 209s remote-cache, linux-sandbox ... (70 actions running) [12,248 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 210s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,252 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 212s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,253 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 213s remote-cache, linux-sandbox ... (70 actions running) [12,256 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 214s remote-cache, linux-sandbox ... (70 actions running) [12,256 / 12,993] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 216s remote-cache, linux-sandbox ... (70 actions running) [12,260 / 12,995] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 217s remote-cache, linux-sandbox ... (70 actions running) [12,265 / 12,995] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 219s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,267 / 12,995] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 220s remote-cache, linux-sandbox ... (70 actions running) [12,268 / 12,995] 276 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 221s remote-cache, linux-sandbox ... (70 actions running) [12,272 / 12,995] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 222s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,273 / 12,995] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 224s remote-cache, linux-sandbox ... (70 actions running) [12,277 / 12,995] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 225s remote-cache, linux-sandbox ... (70 actions running) [12,283 / 12,995] 277 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 226s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,283 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 228s remote-cache, linux-sandbox ... (70 actions running) [12,285 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 229s remote-cache, linux-sandbox ... (70 actions running) [12,286 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 230s remote-cache, linux-sandbox ... (70 actions running) [12,287 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 233s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,288 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 234s remote-cache, linux-sandbox ... (70 actions running) [12,289 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 235s remote-cache, linux-sandbox ... (70 actions running) [12,290 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 236s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,290 / 12,995] 278 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 238s remote-cache, linux-sandbox ... (70 actions running) [12,291 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 239s remote-cache, linux-sandbox ... (70 actions running) [12,294 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 241s remote-cache, linux-sandbox ... (70 actions running) [12,296 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 243s remote-cache, linux-sandbox ... (70 actions running) [12,297 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 245s remote-cache, linux-sandbox ... (70 actions running) [12,298 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 246s remote-cache, linux-sandbox ... (70 actions running) [12,300 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 248s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,300 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 249s remote-cache, linux-sandbox ... (70 actions running) [12,301 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 251s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,302 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 252s remote-cache, linux-sandbox ... (70 actions running) [12,303 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 253s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,304 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 255s remote-cache, linux-sandbox ... (70 actions running) [12,307 / 12,995] 279 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 257s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,311 / 12,995] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 258s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,320 / 12,995] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 259s remote-cache, linux-sandbox ... (70 actions running) [12,323 / 12,995] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 260s remote-cache, linux-sandbox ... (68 actions, 67 running) [12,323 / 12,995] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 262s remote-cache, linux-sandbox ... (70 actions running) [12,329 / 12,995] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 263s remote-cache, linux-sandbox ... (70 actions running) [12,331 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 264s remote-cache, linux-sandbox ... (70 actions running) [12,334 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 265s remote-cache, linux-sandbox ... (70 actions running) [12,336 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 266s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,341 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 267s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,342 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 269s remote-cache, linux-sandbox ... (70 actions running) [12,344 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 270s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,345 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 272s remote-cache, linux-sandbox ... (70 actions running) [12,345 / 13,004] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 274s remote-cache, linux-sandbox ... (70 actions running) [12,352 / 13,006] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 275s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,354 / 13,006] 280 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 277s remote-cache, linux-sandbox ... (70 actions running) [12,360 / 13,006] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 279s remote-cache, linux-sandbox ... (70 actions running) [12,361 / 13,006] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 280s remote-cache, linux-sandbox ... (70 actions running) [12,364 / 13,006] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 281s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,365 / 13,006] 281 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 282s remote-cache, linux-sandbox ... (69 actions running) [12,366 / 13,006] 282 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 284s remote-cache, linux-sandbox ... (70 actions running) [12,375 / 13,006] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 285s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,380 / 13,006] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 287s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,383 / 13,006] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 288s remote-cache, linux-sandbox ... (70 actions running) [12,385 / 13,008] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 289s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,386 / 13,008] 283 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 291s remote-cache, linux-sandbox ... (70 actions running) [12,390 / 13,008] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 292s remote-cache, linux-sandbox ... (70 actions running) [12,393 / 13,008] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 293s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,396 / 13,008] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 295s remote-cache, linux-sandbox ... (70 actions running) [12,397 / 13,008] 284 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 296s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,398 / 13,008] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 297s remote-cache, linux-sandbox ... (70 actions running) [12,399 / 13,008] 285 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 299s remote-cache, linux-sandbox ... (70 actions running) [12,400 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,401 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,401 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 61s remote-cache, linux-sandbox ... (70 actions running) [12,402 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 62s remote-cache, linux-sandbox ... (70 actions running) [12,403 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 63s remote-cache, linux-sandbox ... (70 actions running) [12,403 / 13,008] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 65s remote-cache, linux-sandbox ... (70 actions running) [12,405 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 66s remote-cache, linux-sandbox ... (70 actions running) [12,405 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 67s remote-cache, linux-sandbox ... (70 actions running) [12,406 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,406 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 70s remote-cache, linux-sandbox ... (70 actions running) [12,407 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,408 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 73s remote-cache, linux-sandbox ... (70 actions running) [12,412 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,414 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 76s remote-cache, linux-sandbox ... (70 actions running) [12,415 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,419 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,419 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 80s remote-cache, linux-sandbox ... (70 actions running) [12,424 / 13,016] 285 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,433 / 13,016] 286 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 83s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,433 / 13,016] 286 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 18 of 19); 84s remote-cache, linux-sandbox ... (70 actions running) [12,438 / 13,016] 287 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 43s remote-cache, linux-sandbox ... (70 actions running) [12,440 / 13,016] 287 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 44s remote-cache, linux-sandbox ... (70 actions running) [12,442 / 13,016] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 45s remote-cache, linux-sandbox ... (70 actions running) [12,443 / 13,016] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,444 / 13,016] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 48s remote-cache, linux-sandbox ... (70 actions running) [12,446 / 13,016] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,446 / 13,016] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 51s remote-cache, linux-sandbox ... (70 actions running) [12,447 / 13,018] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,449 / 13,018] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,450 / 13,018] 289 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,451 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 56s remote-cache, linux-sandbox ... (70 actions running) [12,452 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 57s remote-cache, linux-sandbox ... (70 actions running) [12,453 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 58s remote-cache, linux-sandbox ... (70 actions running) [12,453 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 59s remote-cache, linux-sandbox ... (70 actions running) [12,459 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 60s remote-cache, linux-sandbox ... (70 actions running) [12,460 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 61s remote-cache, linux-sandbox ... (70 actions running) [12,462 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,462 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 64s remote-cache, linux-sandbox ... (70 actions running) [12,464 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 65s remote-cache, linux-sandbox ... (70 actions running) [12,464 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 66s remote-cache, linux-sandbox ... (70 actions running) [12,468 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,469 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 69s remote-cache, linux-sandbox ... (70 actions running) [12,472 / 13,018] 290 / 411 tests; Testing //pkg/executor/test/jointest:jointest_test (shard 1 of 8); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,475 / 13,018] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,476 / 13,018] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 49s remote-cache, linux-sandbox ... (70 actions running) [12,478 / 13,018] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,482 / 13,030] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,486 / 13,030] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,490 / 13,030] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 54s remote-cache, linux-sandbox ... (70 actions running) [12,493 / 13,030] 290 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,496 / 13,030] 291 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,497 / 13,030] 291 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,499 / 13,030] 292 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [12,509 / 13,030] 292 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,512 / 13,030] 292 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,516 / 13,030] 292 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,521 / 13,030] 292 / 411 tests; Testing //pkg/ddl:ddl_test (shard 17 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) FLAKY: //pkg/ddl:ddl_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_31_of_50/test_attempts/attempt_1.log /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_17_of_50/test_attempts/attempt_1.log INFO: From Testing //pkg/ddl:ddl_test (shard 17 of 50): ==================== Test output for //pkg/ddl:ddl_test (shard 17 of 50): === RUN TestCancel [2024/05/06 10:40:50.811 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=store1] [from=unresolved] [to=resolved] [liveness-state=reachable] [2024/05/06 10:40:50.812 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:50.812 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:50.813 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:50.813 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:50.816 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:50.819 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6fe93fda-f08f-4a80-a32b-fb0fa52b0558] ["ddl lease"=100ms] ["stats lease"=-1ns] [2024/05/06 10:40:50.831 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:40:50.831 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:40:50.832 +00:00] [WARN] [domain.go:245] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:335\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:242\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:606\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1260\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get.func1\n\tpkg/session/tidb.go:92\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:70\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:79\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3620\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3612\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3562\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3346\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3312\ngithub.com/pingcap/tidb/pkg/testkit.bootstrap\n\tpkg/testkit/mockstore.go:294\ngithub.com/pingcap/tidb/pkg/testkit.CreateMockStoreAndDomainWithSchemaLease\n\tpkg/testkit/mockstore.go:319\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:207\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [version=0] [2024/05/06 10:40:50.836 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=0] ["start time"=3.866215ms] [2024/05/06 10:40:50.836 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:40:50.836 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=b33a515b-8188-4944-a950-b5ec670b10e5] [runWorker=true] [2024/05/06 10:40:50.836 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:40:50.837 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:40:50.837 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:40:50.837 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:40:50.837 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:40:50.837 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:40:50.837 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:40:50.837 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:40:50.838 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=0] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2024/05/06 10:40:50.849 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:50.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:50.849 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:50.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:40:50.856 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.861 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=1] ["start time"=3.279999ms] [2024/05/06 10:40:50.862 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:40:50.863 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:50.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2024/05/06 10:40:50.865 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=7.051576ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:50.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.870 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.841 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.877 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:40:50.877 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:50.877 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2024/05/06 10:40:50.879 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [user=] [2024/05/06 10:40:50.885 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:50.885 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:40:50.892 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.903 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=1] [neededSchemaVersion=2] ["start time"=779.005Β΅s] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:50.904 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:50.904 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2024/05/06 10:40:50.907 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=4.659874ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.913 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.881 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.921 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:40:50.921 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:50.921 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2024/05/06 10:40:50.924 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:50.924 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:40:50.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=2] [neededSchemaVersion=3] ["start time"=274.903Β΅s] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:50.936 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:50.936 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2024/05/06 10:40:50.936 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=2.027282ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.947 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.923 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.953 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:40:50.953 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:50.953 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [user=] [2024/05/06 10:40:50.960 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:50.960 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:40:50.967 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:50.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=3] [neededSchemaVersion=4] ["start time"=390.628Β΅s] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:50.990 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:50.990 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2024/05/06 10:40:50.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=5.652651ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:50.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.007 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:50.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.010 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:40:51.010 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.011 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [user=] [2024/05/06 10:40:51.016 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.016 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:40:51.022 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.029 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=4] [neededSchemaVersion=5] ["start time"=444.184Β΅s] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.031 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2024/05/06 10:40:51.033 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=4.511189ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.042 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.047 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:40:51.047 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.047 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [user=] [2024/05/06 10:40:51.051 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.051 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:40:51.059 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.063 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=5] [neededSchemaVersion=6] ["start time"=268.362Β΅s] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.064 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.064 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2024/05/06 10:40:51.065 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=2.352178ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.073 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.091 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:40:51.091 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [user=] [2024/05/06 10:40:51.107 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.107 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:40:51.122 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=6] [neededSchemaVersion=7] ["start time"=314.645Β΅s] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.127 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.127 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2024/05/06 10:40:51.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=2.824321ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.134 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.105 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.139 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:40:51.139 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.139 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2024/05/06 10:40:51.142 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.142 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:40:51.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.154 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=7] [neededSchemaVersion=8] ["start time"=185.707Β΅s] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.155 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2024/05/06 10:40:51.156 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=2.882415ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.163 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.167 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:40:51.167 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.167 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2024/05/06 10:40:51.173 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.173 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:40:51.181 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.185 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=8] [neededSchemaVersion=9] ["start time"=266.04Β΅s] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.186 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.186 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2024/05/06 10:40:51.204 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=19.612944ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.214 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.169 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.219 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:40:51.219 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.220 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2024/05/06 10:40:51.223 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.223 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:40:51.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=9] [neededSchemaVersion=10] ["start time"=311.85Β΅s] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.236 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2024/05/06 10:40:51.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=2.198362ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.248 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.222 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.257 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:40:51.257 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.257 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2024/05/06 10:40:51.261 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.261 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:40:51.269 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=10] [neededSchemaVersion=11] ["start time"=355.493Β΅s] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.274 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2024/05/06 10:40:51.275 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=2.638528ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.281 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.285 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:40:51.285 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.286 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:40:51.286 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:51.290 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.290 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:40:51.306 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.311 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=11] [neededSchemaVersion=12] ["start time"=489.692Β΅s] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.313 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2024/05/06 10:40:51.315 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=4.914744ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.322 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.342 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:40:51.342 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.343 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2024/05/06 10:40:51.346 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.346 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:40:51.356 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.360 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=12] [neededSchemaVersion=13] ["start time"=394.043Β΅s] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.362 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.362 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2024/05/06 10:40:51.362 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=2.036363ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.370 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.374 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:40:51.374 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.374 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:40:51.377 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.377 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:40:51.395 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.398 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=13] [neededSchemaVersion=14] ["start time"=304.682Β΅s] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.400 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.400 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2024/05/06 10:40:51.402 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=4.460814ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.409 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.376 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.413 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:40:51.413 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.414 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2024/05/06 10:40:51.417 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.417 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:40:51.425 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.429 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=14] [neededSchemaVersion=15] ["start time"=292.23Β΅s] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.430 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.430 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2024/05/06 10:40:51.431 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=2.428227ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.435 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.439 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:40:51.439 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.439 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:40:51.442 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.442 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:40:51.451 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.454 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=15] [neededSchemaVersion=16] ["start time"=266.003Β΅s] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.455 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.455 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2024/05/06 10:40:51.455 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=2.059946ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.461 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.441 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.464 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:40:51.464 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.465 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2024/05/06 10:40:51.468 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.468 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:40:51.477 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.481 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=16] [neededSchemaVersion=17] ["start time"=300.23Β΅s] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.482 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.482 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2024/05/06 10:40:51.484 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=3.015183ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.490 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.466 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.494 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:40:51.494 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.494 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [user=] [2024/05/06 10:40:51.498 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.498 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:40:51.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=17] [neededSchemaVersion=18] ["start time"=202.074Β΅s] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.513 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2024/05/06 10:40:51.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=2.299225ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.523 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.496 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.527 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:40:51.527 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.527 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:40:51.530 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.530 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:40:51.538 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.542 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=18] [neededSchemaVersion=19] ["start time"=410.137Β΅s] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.543 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.543 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2024/05/06 10:40:51.543 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=2.070437ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.548 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.552 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:40:51.552 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.553 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:40:51.556 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.556 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:40:51.562 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.566 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=19] [neededSchemaVersion=20] ["start time"=322.864Β΅s] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.568 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.568 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2024/05/06 10:40:51.580 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=14.792151ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.600 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.555 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.608 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:40:51.608 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.609 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2024/05/06 10:40:51.612 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.612 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:40:51.631 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.635 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=20] [neededSchemaVersion=21] ["start time"=232.346Β΅s] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.636 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.636 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2024/05/06 10:40:51.637 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=2.941707ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.643 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:40:51.651 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.651 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2024/05/06 10:40:51.654 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.654 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:40:51.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.663 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=21] [neededSchemaVersion=22] ["start time"=159.292Β΅s] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.664 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.664 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2024/05/06 10:40:51.665 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=2.02679ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.671 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.674 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:40:51.674 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.675 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2024/05/06 10:40:51.678 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.678 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:40:51.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=22] [neededSchemaVersion=23] ["start time"=514.124Β΅s] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.698 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2024/05/06 10:40:51.699 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=4.664249ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.707 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.710 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:40:51.710 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.711 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2024/05/06 10:40:51.713 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.713 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:40:51.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.727 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=23] [neededSchemaVersion=24] ["start time"=222.233Β΅s] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.728 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.728 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2024/05/06 10:40:51.729 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=2.401868ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.734 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.738 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:40:51.738 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.738 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [user=] [2024/05/06 10:40:51.741 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.741 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:40:51.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=24] [neededSchemaVersion=25] ["start time"=299.751Β΅s] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.754 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2024/05/06 10:40:51.754 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=2.044521ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.758 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.74 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.762 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:40:51.762 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.762 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2024/05/06 10:40:51.765 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.765 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:40:51.774 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.776 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=25] [neededSchemaVersion=26] ["start time"=241.607Β΅s] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.778 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.778 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2024/05/06 10:40:51.778 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=2.08729ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.786 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.790 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:40:51.790 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.790 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:40:51.794 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.794 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:40:51.812 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.815 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=26] [neededSchemaVersion=27] ["start time"=255.811Β΅s] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.816 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.816 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2024/05/06 10:40:51.825 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=10.041425ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.832 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.792 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.835 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:40:51.835 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.836 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2024/05/06 10:40:51.838 +00:00] [WARN] [runaway.go:166] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:141\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:67\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2089\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/domain.(*SystemTableReader).Read\n\tpkg/domain/runaway.go:655\ngithub.com/pingcap/tidb/pkg/domain.getRunawayWatchRecord\n\tpkg/domain/runaway.go:543\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getWatchRecord\n\tpkg/domain/runaway.go:526\ngithub.com/pingcap/tidb/pkg/domain.(*runawaySyncer).getNewWatchRecords\n\tpkg/domain/runaway.go:509\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateNewAndDoneWatch\n\tpkg/domain/runaway.go:177\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:156\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:99\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:51.839 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.839 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:40:51.850 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.853 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=27] [neededSchemaVersion=28] ["start time"=246.39Β΅s] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.855 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2024/05/06 10:40:51.855 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=2.021348ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.861 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.837 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.864 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:40:51.864 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.865 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2024/05/06 10:40:51.865 +00:00] [INFO] [ddl_api.go:1139] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:40:51.869 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.869 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:40:51.879 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=28] [neededSchemaVersion=29] ["start time"=237.17Β΅s] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.884 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.884 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2024/05/06 10:40:51.885 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=2.656136ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.904 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.867 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.908 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:40:51.908 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.909 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:40:51.912 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.912 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:40:51.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.935 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=29] [neededSchemaVersion=30] ["start time"=424.703Β΅s] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.937 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.937 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2024/05/06 10:40:51.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=4.051006ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.951 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.955 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:40:51.955 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.955 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2024/05/06 10:40:51.958 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.958 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:40:51.968 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.972 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=30] [neededSchemaVersion=31] ["start time"=277.776Β΅s] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:51.973 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:51.974 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2024/05/06 10:40:51.975 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=3.07829ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.957 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.984 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:40:51.985 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:51.985 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [user=] [2024/05/06 10:40:51.988 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:51.988 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:40:51.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:51.999 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=31] [neededSchemaVersion=32] ["start time"=322.796Β΅s] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.000 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2024/05/06 10:40:52.001 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=2.85503ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:51.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.008 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:51.987 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.012 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:40:52.012 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.012 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2024/05/06 10:40:52.015 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.015 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:40:52.023 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.025 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=32] [neededSchemaVersion=33] ["start time"=160.846Β΅s] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.026 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.026 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2024/05/06 10:40:52.027 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=2.020707ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.034 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.013 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.037 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:40:52.037 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.041 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.041 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:40:52.052 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.056 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=33] [neededSchemaVersion=34] ["start time"=304.177Β΅s] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:40:52.057 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.057 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2024/05/06 10:40:52.062 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=6.859391ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.068 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.04 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.072 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:40:52.072 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.073 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=34] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2024/05/06 10:40:52.077 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.077 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:40:52.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.088 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=34] [neededSchemaVersion=35] ["start time"=285.692Β΅s] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.089 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.089 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2024/05/06 10:40:52.091 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=3.789502ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.100 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.074 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.104 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:40:52.104 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.104 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2024/05/06 10:40:52.107 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.107 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:40:52.115 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.118 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=35] [neededSchemaVersion=36] ["start time"=250.166Β΅s] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.120 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.120 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2024/05/06 10:40:52.120 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=2.019947ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.128 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.106 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.137 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:40:52.137 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.138 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2024/05/06 10:40:52.141 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.141 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:40:52.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.155 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=36] [neededSchemaVersion=37] ["start time"=187.524Β΅s] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.156 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2024/05/06 10:40:52.156 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=2.107702ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.162 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.164 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:40:52.164 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.165 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2024/05/06 10:40:52.170 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.170 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:40:52.176 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=37] [neededSchemaVersion=38] ["start time"=477.257Β΅s] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.183 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.183 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2024/05/06 10:40:52.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=4.655838ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.193 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.166 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.197 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:40:52.197 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.197 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2024/05/06 10:40:52.203 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.203 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:40:52.227 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.232 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=38] [neededSchemaVersion=39] ["start time"=484.518Β΅s] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.233 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.233 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2024/05/06 10:40:52.236 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=4.319447ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.241 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.245 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:40:52.245 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.245 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2024/05/06 10:40:52.249 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.249 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:40:52.257 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=39] [neededSchemaVersion=40] ["start time"=403.286Β΅s] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.263 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2024/05/06 10:40:52.263 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=2.329299ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.268 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.272 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:40:52.272 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.272 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:40:52.278 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.278 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:40:52.284 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.289 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=40] [neededSchemaVersion=41] ["start time"=434.3Β΅s] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.290 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.290 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2024/05/06 10:40:52.290 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=2.540776ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.295 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.274 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.299 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:40:52.299 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.299 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2024/05/06 10:40:52.303 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.303 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:40:52.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=41] [neededSchemaVersion=42] ["start time"=357.92Β΅s] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.313 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.313 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2024/05/06 10:40:52.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=2.308972ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.320 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.324 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:40:52.324 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.324 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2024/05/06 10:40:52.328 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.328 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:40:52.334 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=42] [neededSchemaVersion=43] ["start time"=520.683Β΅s] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.340 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2024/05/06 10:40:52.351 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=12.809046ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.357 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.326 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.361 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:40:52.362 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.362 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:40:52.366 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.366 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:40:52.388 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.394 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=43] [neededSchemaVersion=44] ["start time"=439.863Β΅s] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.396 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.396 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2024/05/06 10:40:52.399 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=5.27187ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.409 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.415 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:40:52.415 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.415 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:40:52.418 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.418 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:40:52.427 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.430 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=44] [neededSchemaVersion=45] ["start time"=366.682Β΅s] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.432 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.432 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2024/05/06 10:40:52.433 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=3.503698ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.441 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.416 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.445 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:40:52.445 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.446 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2024/05/06 10:40:52.450 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.450 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:40:52.458 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.462 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=45] [neededSchemaVersion=46] ["start time"=581.884Β΅s] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.464 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.464 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2024/05/06 10:40:52.464 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=2.017978ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.469 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.473 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:40:52.473 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.473 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2024/05/06 10:40:52.476 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.476 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:40:52.484 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.489 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=46] [neededSchemaVersion=47] ["start time"=384.231Β΅s] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.490 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2024/05/06 10:40:52.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=5.12822ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.498 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.474 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.512 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:40:52.512 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.513 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2024/05/06 10:40:52.523 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.523 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:40:52.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.534 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=47] [neededSchemaVersion=48] ["start time"=210.577Β΅s] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.535 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.535 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2024/05/06 10:40:52.538 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=4.053478ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.544 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.521 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.547 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:40:52.547 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.547 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2024/05/06 10:40:52.551 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.551 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:40:52.558 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.561 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=48] [neededSchemaVersion=49] ["start time"=318.378Β΅s] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.562 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.562 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2024/05/06 10:40:52.571 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=10.504621ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.579 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.588 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:40:52.588 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.588 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2024/05/06 10:40:52.592 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:52.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.592 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:52.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:40:52.606 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.608 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=49] [neededSchemaVersion=50] ["start time"=71.94Β΅s] [gotSchemaVersion=50] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:40:52.610 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.610 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2024/05/06 10:40:52.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=2.021365ms] [job="ID:101, Type:create schema, State:done, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:40:52.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.620 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.59 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.623 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:40:52.623 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.628 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.628 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:40:52.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.641 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=50] [neededSchemaVersion=51] ["start time"=184.918Β΅s] [gotSchemaVersion=51] [phyTblIDs="[102]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2024/05/06 10:40:52.642 +00:00] [INFO] [domain.go:868] ["session manager is nil"] [2024/05/06 10:40:52.642 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2024/05/06 10:40:52.642 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=2.01764ms] [job="ID:103, Type:create view, State:done, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:52.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.651 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.654 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:40:52.654 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.691 +00:00] [INFO] [bootstrap.go:745] ["bootstrap successful"] ["take time"=1.854298458s] [2024/05/06 10:40:52.694 +00:00] [INFO] [mock.go:106] ["owner manager is canceled"] [category=ddl] [ID=b33a515b-8188-4944-a950-b5ec670b10e5] [ownerKey=/tidb/ddl/fg/owner] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=1.832Β΅s] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=1.442Β΅s] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=1.031Β΅s] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=1.27Β΅s] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_worker.go:186] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=903ns] [2024/05/06 10:40:52.694 +00:00] [INFO] [ddl_workerpool.go:82] ["closing workerPool"] [category=ddl] [2024/05/06 10:40:52.694 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2024/05/06 10:40:52.694 +00:00] [INFO] [session_pool.go:99] ["closing session pool"] [category=ddl] [2024/05/06 10:40:52.697 +00:00] [INFO] [ddl.go:951] ["DDL closed"] [category=ddl] [ID=b33a515b-8188-4944-a950-b5ec670b10e5] ["take time"=5.157102ms] [2024/05/06 10:40:52.697 +00:00] [INFO] [ddl.go:769] ["stop DDL"] [category=ddl] [ID=b33a515b-8188-4944-a950-b5ec670b10e5] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:761] ["topologySyncerKeeper exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:683] ["topNSlowQueryLoop exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:711] ["infoSyncerKeeper exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:1361] ["closestReplicaReadCheckLoop exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:907] ["loadSchemaInLoop exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:737] ["globalConfigSyncerKeeper exited."] [2024/05/06 10:40:52.697 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:40:52.697 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.403405ms] [2024/05/06 10:40:52.697 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=6fe93fda-f08f-4a80-a32b-fb0fa52b0558] ["ddl lease"=100ms] ["stats lease"=-1ns] [2024/05/06 10:40:52.703 +00:00] [WARN] [controller.go:198] ["[resource group controller] server does not save config, load config failed"] [2024/05/06 10:40:52.703 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"] [2024/05/06 10:40:52.717 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=51] ["start time"=12.736496ms] [2024/05/06 10:40:52.717 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:40:52.717 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=2e6ca930-f208-4b74-becc-a5a4b1819c05] [runWorker=true] [2024/05/06 10:40:52.717 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:40:52.717 +00:00] [WARN] [env.go:51] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2024/05/06 10:40:52.717 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2024/05/06 10:40:52.717 +00:00] [WARN] [domain.go:1326] ["pd / etcd client not provided, won't begin Advancer."] [2024/05/06 10:40:52.718 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"] [2024/05/06 10:40:52.718 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2024/05/06 10:40:52.718 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:40:52.718 +00:00] [INFO] [delete_range.go:172] ["start delRange emulator"] [category=ddl] [2024/05/06 10:40:52.718 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:40:52.721 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2024/05/06 10:40:52.721 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"] [2024/05/06 10:40:52.724 +00:00] [INFO] [sysvar.go:2748] ["set resource control"] [enable=true] [2024/05/06 10:40:52.724 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default] [2024/05/06 10:40:52.735 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2024/05/06 10:40:52.738 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2024/05/06 10:40:52.740 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2024/05/06 10:40:52.740 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"] [2024/05/06 10:40:52.741 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker] [2024/05/06 10:40:52.741 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=quitStatsOwner] [2024/05/06 10:40:52.742 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2024/05/06 10:40:52.742 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:40:52.742 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:40:52.742 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:40:52.743 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2024/05/06 10:40:52.743 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:40:52.743 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"] [2024/05/06 10:40:52.745 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="drop table if exists t_partition;"] [user=] [2024/05/06 10:40:52.745 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=51] [cur_db=test] [sql="create table t_partition (\n\t\tc1 int, c2 int, c3 int\n\t)\n\tpartition by range( c1 ) (\n \tpartition p0 values less than (1024),\n \tpartition p1 values less than (2048),\n \tpartition p2 values less than (3072),\n \tpartition p3 values less than (4096),\n\t\tpartition p4 values less than (7096)\n \t);"] [user=] [2024/05/06 10:40:52.749 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.749 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_partition (\n\t\tc1 int, c2 int, c3 int\n\t)\n\tpartition by range( c1 ) (\n \tpartition p0 values less than (1024),\n \tpartition p1 values less than (2048),\n \tpartition p2 values less than (3072),\n \tpartition p3 values less than (4096),\n\t\tpartition p4 values less than (7096)\n \t);"] [2024/05/06 10:40:52.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [category=ddl] [job="ID:110, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.759 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=51] [neededSchemaVersion=52] ["start time"=631.144Β΅s] [gotSchemaVersion=52] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=110] [version=52] [2024/05/06 10:40:52.763 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=4.962387ms] [job="ID:110, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.769 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=110] [conn=1] [job="ID:110, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.772 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=110] [2024/05/06 10:40:52.772 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:52.773 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=52] [cur_db=test] [sql="create table t (\n\t\tc1 int, c2 int, c3 int, c11 tinyint, index fk_c1(c1)\n\t);"] [user=] [2024/05/06 10:40:52.776 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:52.776 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (\n\t\tc1 int, c2 int, c3 int, c11 tinyint, index fk_c1(c1)\n\t);"] [2024/05/06 10:40:52.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [category=ddl] [job="ID:112, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.790 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=52] [neededSchemaVersion=53] ["start time"=305.424Β΅s] [gotSchemaVersion=53] [phyTblIDs="[111]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:40:52.792 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=112] [version=53] [2024/05/06 10:40:52.792 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=2.013915ms] [job="ID:112, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:52.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.797 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=112] [conn=1] [job="ID:112, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:52.774 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:52.801 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=112] [2024/05/06 10:40:52.801 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:53.725 +00:00] [INFO] [runaway.go:158] ["preparations for the runaway manager are finished and start runaway manager loop"] [2024/05/06 10:40:53.725 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2024/05/06 10:40:53.725 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2024/05/06 10:40:53.725 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=runawayStartLoop] [2024/05/06 10:40:53.743 +00:00] [INFO] [runtime.go:160] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 10:40:53.743 +00:00] [INFO] [runtime.go:402] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2024/05/06 10:40:53.744 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2024/05/06 10:40:53.746 +00:00] [INFO] [scheduler_manager.go:453] ["collect loop start"] [server-id=:4000] [2024/05/06 10:40:53.746 +00:00] [INFO] [scheduler_manager.go:373] ["cleanup loop start"] [server-id=:4000] [2024/05/06 10:40:53.746 +00:00] [INFO] [scheduler_manager.go:200] ["schedule task loop start"] [server-id=:4000] [2024/05/06 10:40:53.746 +00:00] [INFO] [scheduler_manager.go:312] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 10:40:54.718 +00:00] [INFO] [info.go:1142] [SetTiFlashGroupConfig] [2024/05/06 10:40:55.398 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_batch_size] [val=8] [2024/05/06 10:40:55.404 +00:00] [INFO] [set.go:170] ["set global var"] [conn=1] [name=tidb_ddl_reorg_worker_cnt] [val=1] [2024/05/06 10:40:55.409 +00:00] [INFO] [set.go:170] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=1024] [2024/05/06 10:40:55.410 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=53] [cur_db=test] [sql="create unique index c3_index on t_partition (c1)"] [user=] [2024/05/06 10:40:55.413 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:55.413 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"] [2024/05/06 10:40:55.422 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.422 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.423 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"c3_index\",\"L\":\"c3_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:55.423 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:55.423 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.452 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=53] ["start time"=33.073243ms] [2024/05/06 10:40:55.457 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"] [2024/05/06 10:40:55.466 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=53] [neededSchemaVersion=54] ["start time"=7.038601ms] [gotSchemaVersion=54] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.468 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=54] [2024/05/06 10:40:55.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=48.334031ms] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.474 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.481 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.491 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=54] [neededSchemaVersion=55] ["start time"=8.277408ms] [gotSchemaVersion=55] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.493 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=55] [2024/05/06 10:40:55.495 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=12.506212ms] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.496 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.503 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.503 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.504 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=55] [neededSchemaVersion=56] ["start time"=7.204679ms] [gotSchemaVersion=56] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2024/05/06 10:40:55.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=10.541298ms] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.518 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.524 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.526 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.527 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=113] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.528 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=113] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:55.530 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877404069888, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.531 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877403283457, conflictStartTS=449574877403283458, conflictCommitTS=449574877403807744, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:55.531 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877403283457, conflictStartTS=449574877403283458, conflictCommitTS=449574877403807744, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:55.531 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877403283457, conflictStartTS=449574877403283458, conflictCommitTS=449574877403807744, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=113}, originalKey=748000fffffffffffe5f728000000000000071, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:113, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877404069888, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.538 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.538 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.538 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=113] [conn=3] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:55.539 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.549 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=56] [neededSchemaVersion=57] ["start time"=8.873049ms] [gotSchemaVersion=57] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=57] [2024/05/06 10:40:55.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=12.620603ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.554 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.559 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.560 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.569 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=57] [neededSchemaVersion=58] ["start time"=7.459887ms] [gotSchemaVersion=58] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.572 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=58] [2024/05/06 10:40:55.574 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=12.05037ms] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.575 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.582 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.582 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=113] [conn=3] [category=ddl] [job="ID:113, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.588 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.599 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=58] [neededSchemaVersion=59] ["start time"=8.810562ms] [gotSchemaVersion=59] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.601 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=113] [version=59] [2024/05/06 10:40:55.604 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=13.722253ms] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.613 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=113] [tableID=104] [indexIDs="[1,9223090561878065153]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:55.615 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=113] [jobType="add index"] [2024/05/06 10:40:55.615 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=113] [conn=3] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.619 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=113] [2024/05/06 10:40:55.619 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:113, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:55.412 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.625 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=1] [startKey=7480000000000000685f698000000000000001] [endKey=7480000000000000685f698000000000000002] [2024/05/06 10:40:55.625 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=113] [2024/05/06 10:40:55.625 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:55.625 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=53] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7584\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:320\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:154\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:55.626 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=59] [cur_db=test] [sql="create unique index c3_index on t_partition (c1)"] [user=] [2024/05/06 10:40:55.628 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:55.628 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="create unique index c3_index on t_partition (c1)"] [2024/05/06 10:40:55.634 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.634 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.634 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"c3_index\",\"L\":\"c3_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:55.634 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:55.635 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.636 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=113] [elementID=2] [startKey=7480000000000000685f69ffff000000000001] [endKey=7480000000000000685f69ffff000000000002] [2024/05/06 10:40:55.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=59] [neededSchemaVersion=60] ["start time"=8.17712ms] [gotSchemaVersion=60] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.647 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=60] [2024/05/06 10:40:55.653 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=16.013551ms] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.654 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.661 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.670 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=60] [neededSchemaVersion=61] ["start time"=7.673029ms] [gotSchemaVersion=61] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.673 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=61] [2024/05/06 10:40:55.673 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=10.288439ms] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.674 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.681 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.681 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.682 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=61] [neededSchemaVersion=62] ["start time"=8.651268ms] [gotSchemaVersion=62] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.695 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=62] [2024/05/06 10:40:55.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=12.916941ms] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.705 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.705 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.706 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.707 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=114] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:55.709 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.710 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.711 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.718 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.718 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.718 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.720 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 10:40:55.721 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600] [2024/05/06 10:40:55.721 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:55.722 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000000015600] ["current end key"=7480000000000000695f72800000000000015600] [2024/05/06 10:40:55.731 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:55.731 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.732 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.733 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.739 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.740 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.754 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:55.754 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.755 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.756 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.763 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.775 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:55.775 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.776 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.777 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.783 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.783 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.784 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.800 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:55.800 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.801 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.802 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.808 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.808 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.809 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.840 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f728000000000000001, 7480000000000000695f72800000000000015600), jobID: 114"] ["added count"=342] ["scan count"=342] ["next key"=7480000000000000695f72800000000000015600] ["take time"=18.446937ms] [2024/05/06 10:40:55.840 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=114] [2024/05/06 10:40:55.840 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=342] ["start key"=7480000000000000695f728000000000000001] [2024/05/06 10:40:55.844 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=114] [element=ID:2,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [] [2024/05/06 10:40:55.844 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 10:40:55.844 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:55.845 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:55.845 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f7280000000000002ab00] ["current end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:55.867 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=32] [2024/05/06 10:40:55.867 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:32, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.873 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:55.874 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:32, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.882 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:32, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:32, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.883 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:32, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.883 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=114] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:40:55.883 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.929 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342] [2024/05/06 10:40:55.929 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.931 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.937 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.937 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.937 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=114] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:40:55.938 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=114] [table=t_partition] ["ingest mode"=false] [index=c3_index] [2024/05/06 10:40:55.947 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=114] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:55.947 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=114] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f728000000000000157] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:55.947 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:114, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:6, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:55.950 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:55.950 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.960 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=62] [neededSchemaVersion=63] ["start time"=7.713715ms] [gotSchemaVersion=63] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.961 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=63] [2024/05/06 10:40:55.962 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=10.508559ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.963 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.969 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.970 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.982 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=63] [neededSchemaVersion=64] ["start time"=8.145614ms] [gotSchemaVersion=64] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:55.983 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=64] [2024/05/06 10:40:55.985 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=12.712059ms] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.986 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.993 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=114] [conn=3] [category=ddl] [job="ID:114, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:55.995 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.005 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=64] [neededSchemaVersion=65] ["start time"=7.708779ms] [gotSchemaVersion=65] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[7,7,7,7,7,7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:40:56.007 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=114] [version=65] [2024/05/06 10:40:56.010 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=12.731479ms] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.011 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.017 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=114] [tableID=104] [indexIDs="[2,9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.019 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="add index"] [2024/05/06 10:40:56.019 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=114] [conn=3] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.022 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=1] [startKey=7480000000000000685f698000000000000002] [endKey=7480000000000000685f698000000000000003] [2024/05/06 10:40:56.022 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=114] [2024/05/06 10:40:56.023 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:114, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:55.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877450993664, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.024 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=114] [elementID=2] [startKey=7480000000000000685f69ffff000000000002] [endKey=7480000000000000685f69ffff000000000003] [2024/05/06 10:40:56.025 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=114] [2024/05/06 10:40:56.025 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.025 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=59] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateIndex\n\tpkg/ddl/ddl_api.go:7584\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateIndex\n\tpkg/executor/ddl.go:320\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:154\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.026 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=65] [cur_db=test] [sql="alter table t_partition add primary key c3_index (c1)"] [user=] [2024/05/06 10:40:56.028 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.028 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"] [2024/05/06 10:40:56.035 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.035 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.035 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.035 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.036 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.045 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=65] [neededSchemaVersion=66] ["start time"=6.656479ms] [gotSchemaVersion=66] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.046 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=66] [2024/05/06 10:40:56.049 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=10.889738ms] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.050 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.055 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.055 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.058 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=66] [neededSchemaVersion=67] ["start time"=8.269485ms] [gotSchemaVersion=67] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.076 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=67] [2024/05/06 10:40:56.077 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=18.142601ms] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.079 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.086 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.086 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.099 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=67] [neededSchemaVersion=68] ["start time"=8.784977ms] [gotSchemaVersion=68] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.101 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=68] [2024/05/06 10:40:56.103 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=12.503389ms] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.104 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.116 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.130 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=115] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.130 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=115] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:56.132 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877562142720, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.133 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877557424128, conflictStartTS=449574877557686272, conflictCommitTS=449574877558472704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:56.133 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877557424128, conflictStartTS=449574877557686272, conflictCommitTS=449574877558472704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:56.133 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877557424128, conflictStartTS=449574877557686272, conflictCommitTS=449574877558472704, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=115}, originalKey=748000fffffffffffe5f728000000000000073, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:115, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877562142720, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.144 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.145 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.154 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=68] [neededSchemaVersion=69] ["start time"=7.377392ms] [gotSchemaVersion=69] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=69] [2024/05/06 10:40:56.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=10.663127ms] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.159 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.180 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.180 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.186 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=69] [neededSchemaVersion=70] ["start time"=7.068087ms] [gotSchemaVersion=70] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.197 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=70] [2024/05/06 10:40:56.199 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=10.193711ms] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.200 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.206 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.206 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=115] [conn=3] [category=ddl] [job="ID:115, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.207 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.215 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=70] [neededSchemaVersion=71] ["start time"=6.737585ms] [gotSchemaVersion=71] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.217 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=115] [version=71] [2024/05/06 10:40:56.219 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=10.228021ms] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.220 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.224 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=115] [tableID=104] [indexIDs="[3,9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.225 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="add primary key"] [2024/05/06 10:40:56.225 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.229 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=115] [2024/05/06 10:40:56.229 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=1] [startKey=7480000000000000685f698000000000000003] [endKey=7480000000000000685f698000000000000004] [2024/05/06 10:40:56.230 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:115, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.027 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.231 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=115] [elementID=2] [startKey=7480000000000000685f69ffff000000000003] [endKey=7480000000000000685f69ffff000000000004] [2024/05/06 10:40:56.231 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=115] [2024/05/06 10:40:56.232 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.232 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=65] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.232 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=71] [cur_db=test] [sql="alter table t_partition add primary key c3_index (c1)"] [user=] [2024/05/06 10:40:56.234 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.234 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t_partition add primary key c3_index (c1)"] [2024/05/06 10:40:56.243 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.243 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.243 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c1\",\"L\":\"c1\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.243 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.244 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.253 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=71] [neededSchemaVersion=72] ["start time"=7.601528ms] [gotSchemaVersion=72] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.254 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=72] [2024/05/06 10:40:56.256 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=10.7877ms] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.257 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.263 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.263 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.266 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.276 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=72] [neededSchemaVersion=73] ["start time"=8.49661ms] [gotSchemaVersion=73] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.278 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=73] [2024/05/06 10:40:56.280 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=12.732612ms] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.282 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.289 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.290 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.292 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.301 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=73] [neededSchemaVersion=74] ["start time"=7.092451ms] [gotSchemaVersion=74] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.303 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=74] [2024/05/06 10:40:56.305 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=11.436813ms] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.306 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.312 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.312 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.313 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.314 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=116] [physicalTableID=105] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:56.316 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.317 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.318 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.324 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.324 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.324 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.325 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:7480000000000000695f728000000000000001,EndKey:7480000000000000695f72800000000000015600,First:false,PhysicalTableID:105,Ingest mode:false"] [2024/05/06 10:40:56.326 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=105] ["start key"=7480000000000000695f728000000000000001] ["end key"=7480000000000000695f72800000000000015600] [2024/05/06 10:40:56.326 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=7480000000000000695f728000000000000001] [endKey=7480000000000000695f72800000000000015600] [2024/05/06 10:40:56.326 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=105] ["end key"=7480000000000000695f72800000000000015600] ["current end key"=7480000000000000695f72800000000000015600] [2024/05/06 10:40:56.336 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:56.336 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.337 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.337 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.342 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.342 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.342 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.354 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:56.354 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.354 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.355 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.360 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.361 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.361 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.373 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:56.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.374 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.374 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.382 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.383 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.395 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:56.396 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.396 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.397 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.404 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.404 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.405 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.417 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:56.417 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.417 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.423 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.423 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.424 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.436 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 105, range: [7480000000000000695f728000000000000001, 7480000000000000695f72800000000000015600), jobID: 116"] ["added count"=342] ["scan count"=342] ["next key"=7480000000000000695f72800000000000015600] ["take time"=10.032051ms] [2024/05/06 10:40:56.437 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [2024/05/06 10:40:56.437 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_idx_] ["total added count"=342] ["start key"=7480000000000000695f728000000000000001] [2024/05/06 10:40:56.439 +00:00] [INFO] [index.go:2351] ["job update reorgInfo"] [category=ddl] [jobID=116] [element=ID:4,TypeKey:_idx_] [partitionTableID=106] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [] [2024/05/06 10:40:56.439 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:4,StartKey:74800000000000006a5f728000000000000157,EndKey:74800000000000006a5f7280000000000002ab00,First:false,PhysicalTableID:106,Ingest mode:false"] [2024/05/06 10:40:56.440 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=106] ["start key"=74800000000000006a5f728000000000000157] ["end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:56.440 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006a5f728000000000000157] [endKey=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:56.440 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=106] ["end key"=74800000000000006a5f7280000000000002ab00] ["current end key"=74800000000000006a5f7280000000000002ab00] [2024/05/06 10:40:56.470 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=288] [2024/05/06 10:40:56.470 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:288, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.471 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.472 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:288, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.481 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:288, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.481 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:288, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.481 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:288, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.481 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=116] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:40:56.481 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.534 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=342] [2024/05/06 10:40:56.534 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.541 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=116] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:56.541 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=116] ["total added count"=342] ["start key"=74800000000000006a5f728000000000000157] ["result next key"=74800000000000006a5f728000000000000157] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:56.542 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.542 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.542 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.542 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=116] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:40:56.542 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=116] [table=t_partition] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:56.544 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:116, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:7, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:56.546 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.546 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.554 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=74] [neededSchemaVersion=75] ["start time"=6.474201ms] [gotSchemaVersion=75] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=75] [2024/05/06 10:40:56.558 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=10.39638ms] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.559 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:3, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.564 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.564 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=75] [neededSchemaVersion=76] ["start time"=7.58856ms] [gotSchemaVersion=76] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.578 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=76] [2024/05/06 10:40:56.579 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=12.307668ms] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.580 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.587 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.587 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=116] [conn=3] [category=ddl] [job="ID:116, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:104, RowCount:342, ArgLen:0, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.588 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.597 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=76] [neededSchemaVersion=77] ["start time"=7.101277ms] [gotSchemaVersion=77] [phyTblIDs="[104,105,106,107,108,109]"] [actionTypes="[32,32,32,32,32,32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.599 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=116] [version=77] [2024/05/06 10:40:56.600 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=10.098334ms] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.608 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=116] [tableID=104] [indexIDs="[4,9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.610 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="add primary key"] [2024/05/06 10:40:56.610 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=116] [conn=3] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.614 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.614 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:116, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:104, RowCount:342, ArgLen:2, start time: 2024-05-06 10:40:56.233 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877610115072, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.616 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=116] [2024/05/06 10:40:56.617 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.617 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=71] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.617 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=77] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:56.618 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=1] [startKey=7480000000000000685f698000000000000004] [endKey=7480000000000000685f698000000000000005] [2024/05/06 10:40:56.619 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.619 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:56.620 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=116] [elementID=2] [startKey=7480000000000000685f69ffff000000000004] [endKey=7480000000000000685f69ffff000000000005] [2024/05/06 10:40:56.627 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.630 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:117, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.630 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.630 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.631 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877692428289, conflictStartTS=449574877692690432, conflictCommitTS=449574877692952576, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:56.632 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877692428289, conflictStartTS=449574877692690432, conflictCommitTS=449574877692952576, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:56.632 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877692428289, conflictStartTS=449574877692690432, conflictCommitTS=449574877692952576, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=117}, originalKey=748000fffffffffffe5f728000000000000075, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:117, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.638 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.638 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [category=ddl] [job="ID:117, Type:add primary key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.638 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:56.638 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.638 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=117] [conn=3] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.641 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:117, Type:add primary key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:56.618 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.641 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=117] [2024/05/06 10:40:56.641 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.641 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=77] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.641 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=77] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:56.646 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.647 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:56.657 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.657 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.658 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.658 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.658 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=77] [neededSchemaVersion=79] ["start time"=382.66Β΅s] [gotSchemaVersion=79] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.662 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=79] [2024/05/06 10:40:56.664 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=4.599136ms] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.665 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.673 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.681 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.683 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877704486912, conflictStartTS=449574877704486913, conflictCommitTS=449574877705011200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:56.683 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877704486912, conflictStartTS=449574877704486913, conflictCommitTS=449574877705011200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:56.683 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877704486912, conflictStartTS=449574877704486913, conflictCommitTS=449574877705011200, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=118}, originalKey=748000fffffffffffe5f728000000000000076, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:118, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.689 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.689 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.690 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=118] [conn=3] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.690 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.691 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118] [2024/05/06 10:40:56.691 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.698 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.698 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.699 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.703 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=79] [neededSchemaVersion=81] ["start time"=425.329Β΅s] [gotSchemaVersion=81] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.704 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=81] [2024/05/06 10:40:56.707 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=5.005836ms] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.708 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.715 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.715 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=118] [conn=3] [category=ddl] [job="ID:118, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.715 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=81] [neededSchemaVersion=82] ["start time"=333.455Β΅s] [gotSchemaVersion=82] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=118] [version=82] [2024/05/06 10:40:56.724 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=4.014488ms] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.733 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.738 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=118] [tableID=111] [indexIDs="[2,9223090561878065154]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=118] [jobType="add primary key"] [2024/05/06 10:40:56.740 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=118] [conn=3] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.742 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=118] [2024/05/06 10:40:56.742 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=1] [startKey=74800000000000006f5f698000000000000002] [endKey=74800000000000006f5f698000000000000003] [2024/05/06 10:40:56.742 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:118, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.643 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.743 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=118] [elementID=2] [startKey=74800000000000006f5f69ffff000000000002] [endKey=74800000000000006f5f69ffff000000000003] [2024/05/06 10:40:56.744 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=118] [2024/05/06 10:40:56.744 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.744 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=77] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.745 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=82] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:56.747 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.747 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:56.754 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.754 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.754 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":3,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.754 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.754 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.756 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=82] [neededSchemaVersion=83] ["start time"=248.197Β΅s] [gotSchemaVersion=83] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.757 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=83] [2024/05/06 10:40:56.758 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=2.132985ms] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.759 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.766 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.766 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.766 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=119] [conn=3] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.766 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.767 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/06 10:40:56.768 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.775 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.776 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.776 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.778 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=83] [neededSchemaVersion=84] ["start time"=288.89Β΅s] [gotSchemaVersion=84] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.779 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=84] [2024/05/06 10:40:56.781 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=3.535012ms] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.782 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.788 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.788 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=119] [conn=3] [category=ddl] [job="ID:119, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.789 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.791 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=84] [neededSchemaVersion=85] ["start time"=340.406Β΅s] [gotSchemaVersion=85] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.792 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=119] [version=85] [2024/05/06 10:40:56.793 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=2.997477ms] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.794 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.801 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=119] [tableID=111] [indexIDs="[3,9223090561878065155]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.802 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="add primary key"] [2024/05/06 10:40:56.802 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=119] [conn=3] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.805 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=119] [2024/05/06 10:40:56.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:119, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.746 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.807 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=1] [startKey=74800000000000006f5f698000000000000003] [endKey=74800000000000006f5f698000000000000004] [2024/05/06 10:40:56.808 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=119] [2024/05/06 10:40:56.808 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.808 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=82] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.808 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=119] [elementID=2] [startKey=74800000000000006f5f69ffff000000000003] [endKey=74800000000000006f5f69ffff000000000004] [2024/05/06 10:40:56.809 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=85] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:56.810 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.810 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:56.818 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.818 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.818 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":4,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.818 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.819 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=85] [neededSchemaVersion=86] ["start time"=338Β΅s] [gotSchemaVersion=86] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.822 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=86] [2024/05/06 10:40:56.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=2.275732ms] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.823 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.828 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.834 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.836 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=86] [neededSchemaVersion=87] ["start time"=349.38Β΅s] [gotSchemaVersion=87] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.838 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=87] [2024/05/06 10:40:56.838 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=2.093987ms] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.839 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.845 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.847 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.852 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.853 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877749575680, conflictStartTS=449574877749575681, conflictCommitTS=449574877749837824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:56.853 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877749575680, conflictStartTS=449574877749575681, conflictCommitTS=449574877749837824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:56.853 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877749575680, conflictStartTS=449574877749575681, conflictCommitTS=449574877749837824, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=120}, originalKey=748000fffffffffffe5f728000000000000078, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:120, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.859 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=120] [conn=3] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.859 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.862 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=87] [neededSchemaVersion=89] ["start time"=371.758Β΅s] [gotSchemaVersion=89] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=89] [2024/05/06 10:40:56.865 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=4.08354ms] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.866 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.874 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.874 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.875 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.877 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=89] [neededSchemaVersion=90] ["start time"=387.713Β΅s] [gotSchemaVersion=90] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.879 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=90] [2024/05/06 10:40:56.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=9.813082ms] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.894 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.894 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=120] [conn=3] [category=ddl] [job="ID:120, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.895 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.897 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=90] [neededSchemaVersion=91] ["start time"=344.802Β΅s] [gotSchemaVersion=91] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.899 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=120] [version=91] [2024/05/06 10:40:56.902 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=5.511144ms] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.904 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.911 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=120] [tableID=111] [indexIDs="[4,9223090561878065156]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:56.912 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="add primary key"] [2024/05/06 10:40:56.913 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=120] [conn=3] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.915 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=120] [2024/05/06 10:40:56.915 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=120] [elementID=1] [startKey=74800000000000006f5f698000000000000004] [endKey=74800000000000006f5f698000000000000005] [2024/05/06 10:40:56.916 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:120, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.809 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.917 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=120] [elementID=2] [startKey=74800000000000006f5f69ffff000000000004] [endKey=74800000000000006f5f69ffff000000000005] [2024/05/06 10:40:56.918 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=120] [2024/05/06 10:40:56.918 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:56.918 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=85] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:56.919 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=91] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:56.921 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:56.921 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:56.927 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.927 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.927 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":5,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:56.927 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:56.928 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.930 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=91] [neededSchemaVersion=92] ["start time"=368.934Β΅s] [gotSchemaVersion=92] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.931 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=92] [2024/05/06 10:40:56.931 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=2.013326ms] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.932 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.937 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.937 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.942 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.945 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=92] [neededSchemaVersion=93] ["start time"=366.2Β΅s] [gotSchemaVersion=93] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.946 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=93] [2024/05/06 10:40:56.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=2.067768ms] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.947 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.954 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.954 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.955 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=3] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:56.955 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.956 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=93] [neededSchemaVersion=94] ["start time"=231.161Β΅s] [gotSchemaVersion=94] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.958 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=94] [2024/05/06 10:40:56.959 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=2.523764ms] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.967 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.967 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.967 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.971 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=94] [neededSchemaVersion=95] ["start time"=346.631Β΅s] [gotSchemaVersion=95] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.973 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=95] [2024/05/06 10:40:56.974 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=4.372089ms] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.975 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.981 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.981 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=121] [conn=3] [category=ddl] [job="ID:121, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.982 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.984 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=95] [neededSchemaVersion=96] ["start time"=360.287Β΅s] [gotSchemaVersion=96] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:56.986 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=121] [version=96] [2024/05/06 10:40:56.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=6.863551ms] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:56.999 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=121] [tableID=111] [indexIDs="[5,9223090561878065157]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:57.000 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=121] [jobType="add primary key"] [2024/05/06 10:40:57.001 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=121] [conn=3] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.003 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=121] [2024/05/06 10:40:57.004 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=1] [startKey=74800000000000006f5f698000000000000005] [endKey=74800000000000006f5f698000000000000006] [2024/05/06 10:40:57.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:121, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:56.92 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.005 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=121] [elementID=2] [startKey=74800000000000006f5f69ffff000000000005] [endKey=74800000000000006f5f69ffff000000000006] [2024/05/06 10:40:57.008 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=121] [2024/05/06 10:40:57.008 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:57.008 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=91] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:57.009 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=96] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:57.011 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:57.011 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:57.019 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.020 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":6,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:57.020 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:57.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.022 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=96] [neededSchemaVersion=97] ["start time"=345.503Β΅s] [gotSchemaVersion=97] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.023 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=97] [2024/05/06 10:40:57.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=2.864422ms] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.026 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.040 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.040 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.044 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.046 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=97] [neededSchemaVersion=98] ["start time"=267.005Β΅s] [gotSchemaVersion=98] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.047 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=98] [2024/05/06 10:40:57.048 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=2.454446ms] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.049 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.054 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.054 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.058 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.060 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=98] [neededSchemaVersion=99] ["start time"=331.011Β΅s] [gotSchemaVersion=99] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.061 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=99] [2024/05/06 10:40:57.062 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=2.899957ms] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.064 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.073 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.076 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.077 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877810130944, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.080 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574877809344512, conflictStartTS=449574877809606656, conflictCommitTS=449574877809868800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:57.080 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574877809344512, conflictStartTS=449574877809606656, conflictCommitTS=449574877809868800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:57.080 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574877809344512, conflictStartTS=449574877809606656, conflictCommitTS=449574877809868800, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=122}, originalKey=748000fffffffffffe5f72800000000000007a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:122, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877810130944, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.085 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.085 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.086 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=122] [conn=3] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:57.086 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.088 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=99] [neededSchemaVersion=100] ["start time"=337.397Β΅s] [gotSchemaVersion=100] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.089 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=100] [2024/05/06 10:40:57.091 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=100] ["take time"=3.513408ms] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.092 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.100 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.102 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.104 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=100] [neededSchemaVersion=101] ["start time"=390.979Β΅s] [gotSchemaVersion=101] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=101] [2024/05/06 10:40:57.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=101] ["take time"=2.258865ms] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.107 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.113 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.113 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=122] [conn=3] [category=ddl] [job="ID:122, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.114 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.116 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=101] [neededSchemaVersion=102] ["start time"=255.234Β΅s] [gotSchemaVersion=102] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.117 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=122] [version=102] [2024/05/06 10:40:57.118 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=102] ["take time"=2.346583ms] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.121 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.125 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=111] [indexIDs="[6,9223090561878065158]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:57.126 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add primary key"] [2024/05/06 10:40:57.126 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=122] [conn=3] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.131 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=122] [2024/05/06 10:40:57.131 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=1] [startKey=74800000000000006f5f698000000000000006] [endKey=74800000000000006f5f698000000000000007] [2024/05/06 10:40:57.131 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:122, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:57.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.133 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=122] [elementID=2] [startKey=74800000000000006f5f69ffff000000000006] [endKey=74800000000000006f5f69ffff000000000007] [2024/05/06 10:40:57.134 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=122] [2024/05/06 10:40:57.134 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:57.134 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=96] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:57.134 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=102] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:57.136 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:57.136 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:57.144 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.144 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":7,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:57.144 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:57.144 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.146 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=102] [neededSchemaVersion=103] ["start time"=259.714Β΅s] [gotSchemaVersion=103] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.147 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=103] [2024/05/06 10:40:57.148 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=2.565264ms] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.149 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.155 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.155 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.161 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=103] [neededSchemaVersion=104] ["start time"=360.919Β΅s] [gotSchemaVersion=104] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.166 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=104] [2024/05/06 10:40:57.167 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=2.305389ms] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.172 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.181 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.181 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.188 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.190 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=104] [neededSchemaVersion=105] ["start time"=399.502Β΅s] [gotSchemaVersion=105] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.192 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=105] [2024/05/06 10:40:57.195 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=5.426655ms] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.203 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.203 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.203 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.204 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=123] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.206 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.207 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.207 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.214 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.214 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.214 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.216 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:7,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:57.217 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.217 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.217 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.226 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.227 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.227 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.228 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.234 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.234 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.234 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.247 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.247 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.248 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.248 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.255 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.255 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.255 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.268 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.268 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.269 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.269 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.277 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.277 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.277 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.292 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.292 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.293 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.294 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.301 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.301 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.301 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.314 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.314 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.315 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.322 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.322 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.322 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.384 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=256] [2024/05/06 10:40:57.384 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.386 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.386 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.396 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.397 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.397 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=123] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:40:57.397 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=123] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.397 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=123] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:57.398 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=123] ["total added count"=0] ["start key"=74800000000000006f5f728000000000000001] ["result next key"=74800000000000006f5f72800000000000072000] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:57.399 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:123, Type:add primary key, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:7, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:57.402 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:3, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:482\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:40:57.402 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:3, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.405 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=105] [neededSchemaVersion=106] ["start time"=397.839Β΅s] [gotSchemaVersion=106] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.407 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=106] [2024/05/06 10:40:57.409 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=4.938154ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:3, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.410 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:3, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.418 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.419 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.422 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=106] [neededSchemaVersion=107] ["start time"=334.903Β΅s] [gotSchemaVersion=107] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.424 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=107] [2024/05/06 10:40:57.426 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=4.869828ms] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.427 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.434 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.434 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=123] [conn=3] [category=ddl] [job="ID:123, Type:add primary key, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:256, ArgLen:0, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.435 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.438 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=107] [neededSchemaVersion=108] ["start time"=229.206Β΅s] [gotSchemaVersion=108] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.439 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=123] [version=108] [2024/05/06 10:40:57.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=4.388186ms] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.443 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.450 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=111] [indexIDs="[7,9223090561878065159]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:57.451 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="add primary key"] [2024/05/06 10:40:57.451 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=123] [conn=3] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.454 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.455 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:123, Type:add primary key, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:256, ArgLen:2, start time: 2024-05-06 10:40:57.135 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574877843423233, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.462 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=123] [2024/05/06 10:40:57.462 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:57.462 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=102] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreatePrimaryKey\n\tpkg/ddl/ddl_api.go:7469\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3945\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:57.463 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=108] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:57.469 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:57.469 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:57.473 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=1] [startKey=74800000000000006f5f698000000000000007] [endKey=74800000000000006f5f698000000000000008] [2024/05/06 10:40:57.476 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=123] [elementID=2] [startKey=74800000000000006f5f69ffff000000000007] [endKey=74800000000000006f5f69ffff000000000008] [2024/05/06 10:40:57.482 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.482 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.483 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":8,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:57.483 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:57.488 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.490 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=108] [neededSchemaVersion=109] ["start time"=313.26Β΅s] [gotSchemaVersion=109] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.492 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=109] [2024/05/06 10:40:57.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=2.741616ms] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.497 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.504 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.504 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.511 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=109] [neededSchemaVersion=110] ["start time"=347.79Β΅s] [gotSchemaVersion=110] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=110] [2024/05/06 10:40:57.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=2.055131ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.515 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.521 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.526 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.528 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=110] [neededSchemaVersion=111] ["start time"=235.241Β΅s] [gotSchemaVersion=111] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.529 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=111] [2024/05/06 10:40:57.530 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=2.186245ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.535 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.535 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.535 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.536 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.537 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.538 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.539 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.543 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.543 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.544 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.545 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:57.546 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.546 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.546 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:57.556 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.556 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.557 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.557 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.568 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.569 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.569 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.582 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.582 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.583 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.583 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.591 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.591 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.606 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.607 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.607 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.608 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.615 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.616 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.628 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.628 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.629 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.630 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.636 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.650 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:57.650 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.651 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.651 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.657 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.657 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.657 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.718 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=704] [2024/05/06 10:40:57.718 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:704, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.725 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.726 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:704, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.733 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:704, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.733 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:704, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.733 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=124] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:57.742 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 124"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=93.33492ms] [2024/05/06 10:40:57.742 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=124] [2024/05/06 10:40:57.742 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:40:57.742 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:57.784 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.786 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=111] [neededSchemaVersion=112] ["start time"=367.572Β΅s] [gotSchemaVersion=112] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.787 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=112] [2024/05/06 10:40:57.790 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=4.8464ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.791 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.797 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.797 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574877930455041, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.797 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=124] [table=t] [index=PRIMARY] [2024/05/06 10:40:57.801 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=112] [neededSchemaVersion=113] ["start time"=374.395Β΅s] [gotSchemaVersion=113] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:57.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=113] [2024/05/06 10:40:57.807 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=4.226221ms] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.808 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.814 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.814 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.815 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=124] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000008ff] [2024/05/06 10:40:57.828 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.829 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.830 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.836 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.836 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.838 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:8,StartKey:74800000000000006f5f69ffff000000000008,EndKey:74800000000000006f5f69ffff000000000008ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:57.840 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000008] ["end key"=74800000000000006f5f69ffff000000000008ff] [2024/05/06 10:40:57.840 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000008ff] [2024/05/06 10:40:57.840 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000008ff] ["current end key"=74800000000000006f5f69ffff00000000000800] [2024/05/06 10:40:57.890 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:57.890 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.891 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.898 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.946 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000008, 74800000000000006f5f69ffff00000000000800), jobID: 124"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000080000] ["take time"=255.842Β΅s] [2024/05/06 10:40:57.946 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=124] [2024/05/06 10:40:57.946 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:8,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000008] [2024/05/06 10:40:57.952 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:57.952 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.953 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=124] [2024/05/06 10:40:57.953 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=124] [conn=3] [category=ddl] [job="ID:124, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:57.963 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:58.006 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 10:40:58.006 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.009 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=113] [neededSchemaVersion=114] ["start time"=432.66Β΅s] [gotSchemaVersion=114] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.010 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=124] [version=114] [2024/05/06 10:40:58.013 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=4.513257ms] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.014 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.022 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=124] [tableID=111] [indexIDs="[9223090561878065160]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:58.023 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="add primary key"] [2024/05/06 10:40:58.024 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=124] [conn=3] [job="ID:124, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.028 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=124] [elementID=1] [startKey=74800000000000006f5f69ffff000000000008] [endKey=74800000000000006f5f69ffff000000000009] [2024/05/06 10:40:58.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:124, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:57.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878003855360, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.032 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=124] [2024/05/06 10:40:58.032 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:58.032 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=114] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 10:40:58.035 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:58.035 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 10:40:58.042 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.044 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [category=ddl] [job="ID:125, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.045 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:125, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.047 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878063362048, conflictStartTS=449574878063362049, conflictCommitTS=449574878063886336, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:40:58.047 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878063362048, conflictStartTS=449574878063362049, conflictCommitTS=449574878063886336, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:40:58.047 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878063362048, conflictStartTS=449574878063362049, conflictCommitTS=449574878063886336, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=125}, originalKey=748000fffffffffffe5f72800000000000007d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:125, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.052 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.052 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.053 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:40:58.053 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.053 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=125] [conn=3] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.056 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:125, Type:drop primary key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.033 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.057 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=125] [2024/05/06 10:40:58.057 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:40:58.057 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=114] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropIndex\n\tpkg/ddl/ddl_api.go:8049\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3904\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:40:58.057 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=114] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 10:40:58.060 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:58.060 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 10:40:58.076 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.078 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.080 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=114] [neededSchemaVersion=116] ["start time"=400.897Β΅s] [gotSchemaVersion=116] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.081 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=116] [2024/05/06 10:40:58.081 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=2.065762ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.082 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.090 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.091 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.093 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=116] [neededSchemaVersion=117] ["start time"=418.192Β΅s] [gotSchemaVersion=117] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.094 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=117] [2024/05/06 10:40:58.095 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=2.010139ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.096 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.101 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.101 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.101 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.103 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=117] [neededSchemaVersion=118] ["start time"=386.589Β΅s] [gotSchemaVersion=118] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.105 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=118] [2024/05/06 10:40:58.111 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=118] ["take time"=8.172383ms] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.112 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.117 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.117 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [category=ddl] [job="ID:126, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.118 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.122 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=118] [neededSchemaVersion=119] ["start time"=379.587Β΅s] [gotSchemaVersion=119] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.123 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=126] [version=119] [2024/05/06 10:40:58.124 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=4.720599ms] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.130 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=126] [tableID=111] [indexIDs="[8]"] [comment="drop index: table ID"] [2024/05/06 10:40:58.131 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop primary key"] [2024/05/06 10:40:58.132 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=126] [conn=3] [job="ID:126, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.135 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:126, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.059 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.137 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=126] [2024/05/06 10:40:58.137 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:58.138 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=119] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:58.141 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:58.141 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:58.152 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.152 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.152 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":9,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:58.152 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:58.153 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.154 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=126] [elementID=1] [startKey=74800000000000006f5f698000000000000008] [endKey=74800000000000006f5f698000000000000009] [2024/05/06 10:40:58.155 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=119] [neededSchemaVersion=120] ["start time"=373.797Β΅s] [gotSchemaVersion=120] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=120] [2024/05/06 10:40:58.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=2.059343ms] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.158 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.163 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.163 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.164 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.166 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=120] [neededSchemaVersion=121] ["start time"=329.076Β΅s] [gotSchemaVersion=121] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=121] [2024/05/06 10:40:58.168 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=2.304791ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.169 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.175 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.176 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.176 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.180 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=121] [neededSchemaVersion=122] ["start time"=376.548Β΅s] [gotSchemaVersion=122] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=122] [2024/05/06 10:40:58.184 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=4.430364ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.185 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.192 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.192 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.192 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.193 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:58.195 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.196 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.203 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.203 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.203 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.205 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:58.206 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:58.206 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:58.207 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:58.216 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:58.216 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.217 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.218 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.224 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.224 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.224 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.236 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:58.236 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.237 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.238 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.245 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.245 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.246 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.260 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:58.260 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.261 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.262 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.268 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.268 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.269 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.285 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:58.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.286 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.293 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.293 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.306 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:58.306 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.307 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.307 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.313 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.314 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.314 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.362 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=448] [2024/05/06 10:40:58.362 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.363 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.364 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.383 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.383 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.384 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.462 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 127"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=154.796495ms] [2024/05/06 10:40:58.462 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=127] [2024/05/06 10:40:58.462 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:9,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:40:58.480 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1600] [2024/05/06 10:40:58.480 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.481 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.482 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.492 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.492 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.492 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=127] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.494 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:58.539 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.541 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=122] [neededSchemaVersion=123] ["start time"=374.787Β΅s] [gotSchemaVersion=123] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.543 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=123] [2024/05/06 10:40:58.543 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=2.07254ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.544 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.552 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.553 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878102683649, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.553 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=127] [table=t] [index=PRIMARY] [2024/05/06 10:40:58.554 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.556 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=123] [neededSchemaVersion=124] ["start time"=454.797Β΅s] [gotSchemaVersion=124] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.557 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=124] [2024/05/06 10:40:58.560 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=4.483774ms] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.563 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.572 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.572 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.572 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=127] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff000000000009ff] [2024/05/06 10:40:58.575 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.576 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.595 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.595 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.597 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:9,StartKey:74800000000000006f5f69ffff000000000009,EndKey:74800000000000006f5f69ffff000000000009ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:58.598 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000009] ["end key"=74800000000000006f5f69ffff000000000009ff] [2024/05/06 10:40:58.599 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff000000000009ff] [2024/05/06 10:40:58.599 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000009ff] ["current end key"=74800000000000006f5f69ffff00000000000900] [2024/05/06 10:40:58.658 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:58.658 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.659 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.661 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.673 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.673 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.701 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000009, 74800000000000006f5f69ffff00000000000900), jobID: 127"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000090000] ["take time"=300.391Β΅s] [2024/05/06 10:40:58.701 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=127] [2024/05/06 10:40:58.701 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:9,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000009] [2024/05/06 10:40:58.740 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:58.740 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.741 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.741 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.749 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.749 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=127] [conn=3] [category=ddl] [job="ID:127, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.752 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:58.795 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 10:40:58.795 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.798 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=124] [neededSchemaVersion=125] ["start time"=433.551Β΅s] [gotSchemaVersion=125] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.800 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=127] [version=125] [2024/05/06 10:40:58.805 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=7.508069ms] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.816 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=127] [tableID=111] [indexIDs="[9223090561878065161]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:58.817 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="add primary key"] [2024/05/06 10:40:58.818 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=127] [conn=3] [job="ID:127, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.821 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=127] [elementID=1] [startKey=74800000000000006f5f69ffff000000000009] [endKey=74800000000000006f5f69ffff00000000000a] [2024/05/06 10:40:58.823 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:127, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.139 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878202298369, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.826 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=127] [2024/05/06 10:40:58.826 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:58.826 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=125] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 10:40:58.832 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:58.832 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 10:40:58.842 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.845 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=125] [neededSchemaVersion=126] ["start time"=453.107Β΅s] [gotSchemaVersion=126] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.847 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=126] [2024/05/06 10:40:58.849 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=4.745174ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.856 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.859 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.861 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=126] [neededSchemaVersion=127] ["start time"=403.32Β΅s] [gotSchemaVersion=127] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.863 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=127] [2024/05/06 10:40:58.865 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=5.030909ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.867 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.873 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.873 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.874 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.876 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=127] [neededSchemaVersion=128] ["start time"=481.772Β΅s] [gotSchemaVersion=128] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.877 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=128] [2024/05/06 10:40:58.879 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=4.036579ms] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.880 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.890 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.890 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [category=ddl] [job="ID:128, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.891 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.894 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=128] [neededSchemaVersion=129] ["start time"=443.754Β΅s] [gotSchemaVersion=129] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:58.895 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=128] [version=129] [2024/05/06 10:40:58.898 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=4.720051ms] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.899 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.912 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=128] [tableID=111] [indexIDs="[9]"] [comment="drop index: table ID"] [2024/05/06 10:40:58.915 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop primary key"] [2024/05/06 10:40:58.915 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=128] [conn=3] [job="ID:128, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.919 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:128, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:58.828 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:58.922 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=128] [2024/05/06 10:40:58.922 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:58.922 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=129] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:58.925 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:58.925 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:58.932 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=128] [elementID=1] [startKey=74800000000000006f5f698000000000000009] [endKey=74800000000000006f5f69800000000000000a] [2024/05/06 10:40:58.941 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.941 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.941 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":10,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:58.941 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:58.942 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.944 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=129] [neededSchemaVersion=130] ["start time"=540.238Β΅s] [gotSchemaVersion=130] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.946 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=130] [2024/05/06 10:40:58.948 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=4.153908ms] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.958 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.958 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.961 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=130] [neededSchemaVersion=131] ["start time"=402.373Β΅s] [gotSchemaVersion=131] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=131] [2024/05/06 10:40:58.965 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=2.034538ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.966 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.974 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.974 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.975 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.980 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=131] [neededSchemaVersion=132] ["start time"=450.377Β΅s] [gotSchemaVersion=132] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:58.982 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=132] [2024/05/06 10:40:58.984 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=4.168226ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.985 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.994 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:58.995 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:58.997 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:58.999 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:58.999 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.007 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.007 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.007 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.009 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:59.010 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.010 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.011 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.020 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.020 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.020 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.021 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.027 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.028 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.040 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.040 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.041 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.042 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.064 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.077 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.077 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.078 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.079 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.086 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.086 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.086 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.099 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.099 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.100 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.101 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.109 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.109 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.109 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.162 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=224] [2024/05/06 10:40:59.162 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.166 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.174 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.174 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.175 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.190 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 129"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=79.570677ms] [2024/05/06 10:40:59.190 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=129] [2024/05/06 10:40:59.190 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:10,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:40:59.219 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1920] [2024/05/06 10:40:59.219 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1920, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.220 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.220 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1920, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.226 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1920, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.226 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1920, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.226 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=129] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.228 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:59.260 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.262 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=132] [neededSchemaVersion=133] ["start time"=278.437Β΅s] [gotSchemaVersion=133] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.263 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=133] [2024/05/06 10:40:59.264 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=2.515454ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.265 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.271 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878312923137, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.272 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=129] [table=t] [index=PRIMARY] [2024/05/06 10:40:59.272 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.274 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=133] [neededSchemaVersion=134] ["start time"=298.567Β΅s] [gotSchemaVersion=134] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.276 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=134] [2024/05/06 10:40:59.279 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=4.748344ms] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.280 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.286 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.286 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.286 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=129] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000aff] [2024/05/06 10:40:59.289 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.290 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.290 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.295 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.297 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:10,StartKey:74800000000000006f5f69ffff00000000000a,EndKey:74800000000000006f5f69ffff00000000000aff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:59.298 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000a] ["end key"=74800000000000006f5f69ffff00000000000aff] [2024/05/06 10:40:59.298 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000aff] [2024/05/06 10:40:59.299 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000000aff] ["current end key"=74800000000000006f5f69ffff00000000000a00] [2024/05/06 10:40:59.348 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:59.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.349 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.349 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.356 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.357 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.400 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000000a, 74800000000000006f5f69ffff00000000000a00), jobID: 129"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000000a0000] ["take time"=324.11Β΅s] [2024/05/06 10:40:59.400 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=129] [2024/05/06 10:40:59.400 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:10,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000000a] [2024/05/06 10:40:59.403 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:40:59.403 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.404 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.404 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.410 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.410 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=129] [conn=3] [category=ddl] [job="ID:129, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.412 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:59.447 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 10:40:59.447 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.449 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=134] [neededSchemaVersion=135] ["start time"=312.621Β΅s] [gotSchemaVersion=135] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=129] [version=135] [2024/05/06 10:40:59.452 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=2.939592ms] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.460 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=129] [tableID=111] [indexIDs="[9223090561878065162]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:40:59.461 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="add primary key"] [2024/05/06 10:40:59.462 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=129] [conn=3] [job="ID:129, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.465 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=129] [elementID=1] [startKey=74800000000000006f5f69ffff00000000000a] [endKey=74800000000000006f5f69ffff00000000000b] [2024/05/06 10:40:59.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:129, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:58.924 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878389469185, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.468 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=129] [2024/05/06 10:40:59.468 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:59.469 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=135] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 10:40:59.471 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:40:59.471 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 10:40:59.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.481 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.483 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=135] [neededSchemaVersion=136] ["start time"=423.294Β΅s] [gotSchemaVersion=136] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:59.485 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=136] [2024/05/06 10:40:59.487 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=4.057025ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.488 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.496 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.497 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.499 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=136] [neededSchemaVersion=137] ["start time"=432.368Β΅s] [gotSchemaVersion=137] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:59.501 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=137] [2024/05/06 10:40:59.503 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=4.304628ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.505 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.508 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.510 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.512 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=137] [neededSchemaVersion=138] ["start time"=330.486Β΅s] [gotSchemaVersion=138] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:59.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=138] [2024/05/06 10:40:59.514 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=138] ["take time"=2.090424ms] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.514 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.517 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.517 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [category=ddl] [job="ID:130, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.518 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=138] [neededSchemaVersion=139] ["start time"=330.803Β΅s] [gotSchemaVersion=139] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:40:59.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=130] [version=139] [2024/05/06 10:40:59.522 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=2.040035ms] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.523 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.527 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=111] [indexIDs="[10]"] [comment="drop index: table ID"] [2024/05/06 10:40:59.528 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="drop primary key"] [2024/05/06 10:40:59.529 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=130] [conn=3] [job="ID:130, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:130, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:40:59.47 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:40:59.534 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=130] [2024/05/06 10:40:59.534 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:40:59.534 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=139] [cur_db=test] [sql="alter table t add primary key idx_pc2 (c2)"] [user=] [2024/05/06 10:40:59.537 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:40:59.537 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add primary key idx_pc2 (c2)"] [2024/05/06 10:40:59.547 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=130] [elementID=1] [startKey=74800000000000006f5f69800000000000000a] [endKey=74800000000000006f5f69800000000000000b] [2024/05/06 10:40:59.548 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.548 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.549 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":11,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:40:59.549 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:40:59.549 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=139] [neededSchemaVersion=140] ["start time"=281.959Β΅s] [gotSchemaVersion=140] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.552 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=140] [2024/05/06 10:40:59.553 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=2.162596ms] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.554 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.559 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.560 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.562 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=140] [neededSchemaVersion=141] ["start time"=320.285Β΅s] [gotSchemaVersion=141] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.563 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=141] [2024/05/06 10:40:59.564 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=2.481146ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.565 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.572 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.572 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.573 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=141] [neededSchemaVersion=142] ["start time"=256.82Β΅s] [gotSchemaVersion=142] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.575 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=142] [2024/05/06 10:40:59.576 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=2.018017ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.584 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.584 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.584 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.585 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.587 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.588 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.588 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.600 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.600 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.601 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.603 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:59.604 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.604 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.604 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:40:59.613 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.613 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.614 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.615 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.620 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.620 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.625 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.638 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.638 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.639 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.639 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.645 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.645 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.645 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.658 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.658 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.659 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.660 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.667 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.668 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.668 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.681 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:40:59.681 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.683 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.683 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.698 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.698 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.698 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.754 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=32] [2024/05/06 10:40:59.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:32, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.756 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.756 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:32, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.765 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:32, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.766 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:32, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.766 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.810 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 131"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=101.796657ms] [2024/05/06 10:40:59.810 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=131] [2024/05/06 10:40:59.810 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:11,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:40:59.830 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1344] [2024/05/06 10:40:59.830 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1344, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.832 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.832 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1344, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.842 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1344, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1344, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.843 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=131] [table=t] ["ingest mode"=false] [index=PRIMARY] [2024/05/06 10:40:59.845 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:40:59.899 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.911 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=142] [neededSchemaVersion=143] ["start time"=426.652Β΅s] [gotSchemaVersion=143] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.913 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=143] [2024/05/06 10:40:59.915 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=4.471047ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.916 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.924 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878467588096, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.925 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=131] [table=t] [index=PRIMARY] [2024/05/06 10:40:59.925 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=143] [neededSchemaVersion=144] ["start time"=422.185Β΅s] [gotSchemaVersion=144] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:40:59.929 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=144] [2024/05/06 10:40:59.932 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=5.124357ms] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.933 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.943 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.943 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=131] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000bff] [2024/05/06 10:40:59.947 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.948 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:40:59.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.958 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.958 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:40:59.961 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:11,StartKey:74800000000000006f5f69ffff00000000000b,EndKey:74800000000000006f5f69ffff00000000000bff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:40:59.963 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000000b] ["end key"=74800000000000006f5f69ffff00000000000bff] [2024/05/06 10:40:59.963 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000bff] [2024/05/06 10:40:59.963 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000000bff] ["current end key"=74800000000000006f5f69ffff00000000000b00] [2024/05/06 10:41:00.062 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:00.063 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.063 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=131] [2024/05/06 10:41:00.064 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000000b, 74800000000000006f5f69ffff00000000000b00), jobID: 131"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000000b0000] ["take time"=252.483Β΅s] [2024/05/06 10:41:00.064 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=131] [2024/05/06 10:41:00.064 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:11,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000000b] [2024/05/06 10:41:00.064 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:7, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.074 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.075 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=131] [conn=3] [category=ddl] [job="ID:131, Type:add primary key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.078 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:00.117 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=] [collation=] [2024/05/06 10:41:00.117 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.120 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=144] [neededSchemaVersion=145] ["start time"=418.248Β΅s] [gotSchemaVersion=145] [phyTblIDs="[111]"] [actionTypes="[32]"] [diffTypes="[\"add primary key\"]"] [2024/05/06 10:41:00.122 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=131] [version=145] [2024/05/06 10:41:00.123 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=145] ["take time"=4.100975ms] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.124 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.131 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=131] [tableID=111] [indexIDs="[9223090561878065163]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.132 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=131] [jobType="add primary key"] [2024/05/06 10:41:00.133 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=131] [conn=3] [job="ID:131, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.136 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=131] [elementID=1] [startKey=74800000000000006f5f69ffff00000000000b] [endKey=74800000000000006f5f69ffff00000000000c] [2024/05/06 10:41:00.137 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:131, Type:add primary key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:40:59.535 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878561697793, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.139 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=131] [2024/05/06 10:41:00.139 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:00.140 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=145] [cur_db=test] [sql="alter table t drop primary key"] [user=] [2024/05/06 10:41:00.142 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:00.142 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop primary key"] [2024/05/06 10:41:00.147 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.147 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.148 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.150 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=145] [neededSchemaVersion=146] ["start time"=370.881Β΅s] [gotSchemaVersion=146] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:41:00.151 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=146] [2024/05/06 10:41:00.152 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=2.13451ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.153 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.156 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.157 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.159 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=146] [neededSchemaVersion=147] ["start time"=300.715Β΅s] [gotSchemaVersion=147] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:41:00.160 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=147] [2024/05/06 10:41:00.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=2.194379ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.162 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.166 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.167 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.167 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.169 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=147] [neededSchemaVersion=148] ["start time"=348.82Β΅s] [gotSchemaVersion=148] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:41:00.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=148] [2024/05/06 10:41:00.174 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=148] ["take time"=4.908396ms] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.175 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.179 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.179 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [category=ddl] [job="ID:132, Type:drop primary key, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.180 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=148] [neededSchemaVersion=149] ["start time"=314.134Β΅s] [gotSchemaVersion=149] [phyTblIDs="[111]"] [actionTypes="[33]"] [diffTypes="[\"drop primary key\"]"] [2024/05/06 10:41:00.183 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=132] [version=149] [2024/05/06 10:41:00.185 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=3.009402ms] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.186 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.190 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=132] [tableID=111] [indexIDs="[11]"] [comment="drop index: table ID"] [2024/05/06 10:41:00.191 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop primary key"] [2024/05/06 10:41:00.191 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=132] [conn=3] [job="ID:132, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:132, Type:drop primary key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.141 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:00.200 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=132] [2024/05/06 10:41:00.200 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:00.200 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=149] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.203 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.203 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.205 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=132] [elementID=1] [startKey=74800000000000006f5f69800000000000000b] [endKey=74800000000000006f5f69800000000000000c] [2024/05/06 10:41:00.211 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.213 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=133] [conn=3] [category=ddl] [job="ID:133, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.214 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:133, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":12,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.214 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:133, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.216 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878631952384, conflictStartTS=449574878631952385, conflictCommitTS=449574878632476672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:00.216 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878631952384, conflictStartTS=449574878631952385, conflictCommitTS=449574878632476672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:00.216 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878631952384, conflictStartTS=449574878631952385, conflictCommitTS=449574878632476672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=133}, originalKey=748000fffffffffffe5f728000000000000085, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:133, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.221 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:133, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.222 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [category=ddl] [job="ID:133, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.222 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:00.222 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.222 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=133] [conn=3] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.224 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=133] [2024/05/06 10:41:00.224 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:133, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:00.201 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.225 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.225 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=149] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.225 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=149] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.228 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.228 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.236 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.236 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.236 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":12,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.236 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.237 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.239 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=149] [neededSchemaVersion=151] ["start time"=394.129Β΅s] [gotSchemaVersion=151] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.240 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=151] [2024/05/06 10:41:00.241 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=2.747788ms] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.242 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.248 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.250 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.251 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.252 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878641651712, conflictStartTS=449574878641651713, conflictCommitTS=449574878642176000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:00.252 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878641651712, conflictStartTS=449574878641651713, conflictCommitTS=449574878642176000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:00.252 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878641651712, conflictStartTS=449574878641651713, conflictCommitTS=449574878642176000, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=134}, originalKey=748000fffffffffffe5f728000000000000086, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:134, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.257 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.257 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.257 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=134] [conn=3] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.257 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.259 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134] [2024/05/06 10:41:00.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.267 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.268 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.269 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.269 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=151] [neededSchemaVersion=152] ["start time"=45.747Β΅s] [gotSchemaVersion=151] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[]"] [2024/05/06 10:41:00.271 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=151] [neededSchemaVersion=153] ["start time"=311.704Β΅s] [gotSchemaVersion=153] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.272 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=153] [2024/05/06 10:41:00.273 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=2.101811ms] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.276 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.282 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.282 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=134] [conn=3] [category=ddl] [job="ID:134, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.287 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.297 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=153] [neededSchemaVersion=154] ["start time"=362.688Β΅s] [gotSchemaVersion=154] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=134] [version=154] [2024/05/06 10:41:00.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=4.65007ms] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.302 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.308 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=134] [tableID=111] [indexIDs="[12,9223090561878065164]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.309 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="add index"] [2024/05/06 10:41:00.310 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=134] [conn=3] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.312 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=134] [2024/05/06 10:41:00.312 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:134, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.226 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.314 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=134] [elementID=1] [startKey=74800000000000006f5f69800000000000000c] [endKey=74800000000000006f5f69800000000000000d] [2024/05/06 10:41:00.315 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=134] [2024/05/06 10:41:00.315 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.315 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=149] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.315 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=154] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.316 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=134] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000c] [endKey=74800000000000006f5f69ffff00000000000d] [2024/05/06 10:41:00.318 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.318 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.326 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.326 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.327 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":13,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.327 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.327 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.329 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=154] [neededSchemaVersion=155] ["start time"=308.678Β΅s] [gotSchemaVersion=155] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.330 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=155] [2024/05/06 10:41:00.331 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=2.052499ms] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.332 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.338 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.338 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.339 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=135] [conn=3] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.339 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.340 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135] [2024/05/06 10:41:00.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.346 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.346 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.347 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.349 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=155] [neededSchemaVersion=156] ["start time"=402.146Β΅s] [gotSchemaVersion=156] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.350 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=156] [2024/05/06 10:41:00.351 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=156] ["take time"=2.479714ms] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.352 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.358 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.358 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=135] [conn=3] [category=ddl] [job="ID:135, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.359 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.361 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=156] [neededSchemaVersion=157] ["start time"=359.364Β΅s] [gotSchemaVersion=157] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.363 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=135] [version=157] [2024/05/06 10:41:00.365 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=4.159314ms] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.366 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.372 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=135] [tableID=111] [indexIDs="[13,9223090561878065165]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.373 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="add index"] [2024/05/06 10:41:00.374 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=135] [conn=3] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.376 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=135] [2024/05/06 10:41:00.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:135, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.316 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.377 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=135] [elementID=1] [startKey=74800000000000006f5f69800000000000000d] [endKey=74800000000000006f5f69800000000000000e] [2024/05/06 10:41:00.379 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=135] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000d] [endKey=74800000000000006f5f69ffff00000000000e] [2024/05/06 10:41:00.379 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=135] [2024/05/06 10:41:00.379 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.379 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=154] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.379 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=157] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.381 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.381 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.390 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.390 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.391 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":14,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.391 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.391 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.393 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=157] [neededSchemaVersion=158] ["start time"=359.749Β΅s] [gotSchemaVersion=158] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.395 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=158] [2024/05/06 10:41:00.395 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=2.129777ms] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.396 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.403 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.404 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.407 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=158] [neededSchemaVersion=159] ["start time"=408.656Β΅s] [gotSchemaVersion=159] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.409 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=159] [2024/05/06 10:41:00.411 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=159] ["take time"=4.238696ms] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.412 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.419 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.421 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.421 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.423 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878686216193, conflictStartTS=449574878686478337, conflictCommitTS=449574878686740481, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:00.423 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878686216193, conflictStartTS=449574878686478337, conflictCommitTS=449574878686740481, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:00.423 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 8, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878686216193, conflictStartTS=449574878686478337, conflictCommitTS=449574878686740481, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=136}, originalKey=748000fffffffffffe5f728000000000000088, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:136, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.431 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.431 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.432 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=136] [conn=3] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.432 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.434 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=159] [neededSchemaVersion=161] ["start time"=413.688Β΅s] [gotSchemaVersion=161] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.435 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=161] [2024/05/06 10:41:00.437 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=4.231899ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.439 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.445 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.445 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.446 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.448 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=161] [neededSchemaVersion=162] ["start time"=331.389Β΅s] [gotSchemaVersion=162] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.449 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=162] [2024/05/06 10:41:00.452 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=4.244663ms] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.458 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.459 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=136] [conn=3] [category=ddl] [job="ID:136, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.459 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.462 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=162] [neededSchemaVersion=163] ["start time"=355.137Β΅s] [gotSchemaVersion=163] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.463 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=136] [version=163] [2024/05/06 10:41:00.463 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=2.043798ms] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.464 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.472 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=136] [tableID=111] [indexIDs="[14,9223090561878065166]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.474 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=136] [jobType="add index"] [2024/05/06 10:41:00.474 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=136] [conn=3] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.477 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=136] [2024/05/06 10:41:00.477 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:136, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.38 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.478 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=136] [elementID=1] [startKey=74800000000000006f5f69800000000000000e] [endKey=74800000000000006f5f69800000000000000f] [2024/05/06 10:41:00.480 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=136] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000e] [endKey=74800000000000006f5f69ffff00000000000f] [2024/05/06 10:41:00.480 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=136] [2024/05/06 10:41:00.480 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.480 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=157] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.481 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=163] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.483 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.483 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.496 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.496 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.496 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":15,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.496 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.499 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=163] [neededSchemaVersion=164] ["start time"=369.42Β΅s] [gotSchemaVersion=164] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=164] [2024/05/06 10:41:00.504 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=2.457188ms] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.505 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.511 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.512 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.514 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=164] [neededSchemaVersion=165] ["start time"=276.01Β΅s] [gotSchemaVersion=165] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=165] [2024/05/06 10:41:00.519 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=5.971434ms] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.521 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.531 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.531 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.531 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=137] [conn=3] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.531 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.533 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=165] [neededSchemaVersion=166] ["start time"=355.564Β΅s] [gotSchemaVersion=166] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=166] [2024/05/06 10:41:00.535 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=166] ["take time"=2.442707ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.536 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.543 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.543 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.543 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.545 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=166] [neededSchemaVersion=167] ["start time"=367.711Β΅s] [gotSchemaVersion=167] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.547 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=167] [2024/05/06 10:41:00.548 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=3.046764ms] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.549 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.555 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.555 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=137] [conn=3] [category=ddl] [job="ID:137, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.556 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.558 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=167] [neededSchemaVersion=168] ["start time"=327.219Β΅s] [gotSchemaVersion=168] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.560 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=137] [version=168] [2024/05/06 10:41:00.565 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=7.10243ms] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.566 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.573 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=137] [tableID=111] [indexIDs="[15,9223090561878065167]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.575 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="add index"] [2024/05/06 10:41:00.575 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=137] [conn=3] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.578 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=137] [2024/05/06 10:41:00.578 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:137, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.482 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.578 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=137] [elementID=1] [startKey=74800000000000006f5f69800000000000000f] [endKey=74800000000000006f5f698000000000000010] [2024/05/06 10:41:00.580 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=137] [elementID=2] [startKey=74800000000000006f5f69ffff00000000000f] [endKey=74800000000000006f5f69ffff000000000010] [2024/05/06 10:41:00.580 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=137] [2024/05/06 10:41:00.580 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.581 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=163] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.581 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=168] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.583 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.583 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.593 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.593 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.593 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":16,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.593 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.594 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=168] [neededSchemaVersion=169] ["start time"=468.034Β΅s] [gotSchemaVersion=169] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.598 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=169] [2024/05/06 10:41:00.600 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=4.453329ms] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.608 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.608 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.614 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.616 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=169] [neededSchemaVersion=170] ["start time"=322.166Β΅s] [gotSchemaVersion=170] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.618 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=170] [2024/05/06 10:41:00.618 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=2.177129ms] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.619 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.624 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.624 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.625 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.629 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=170] [neededSchemaVersion=171] ["start time"=310.753Β΅s] [gotSchemaVersion=171] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.630 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=171] [2024/05/06 10:41:00.631 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=2.398012ms] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.632 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.637 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.639 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=138] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.640 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=138] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:00.642 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878744150017, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.642 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878743625728, conflictStartTS=449574878743625729, conflictCommitTS=449574878744150016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:00.642 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878743625728, conflictStartTS=449574878743625729, conflictCommitTS=449574878744150016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:00.642 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878743625728, conflictStartTS=449574878743625729, conflictCommitTS=449574878744150016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=138}, originalKey=748000fffffffffffe5f72800000000000008a, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:138, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878744150017, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.653 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.653 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.654 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.654 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.656 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=171] [neededSchemaVersion=172] ["start time"=311.104Β΅s] [gotSchemaVersion=172] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.657 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=172] [2024/05/06 10:41:00.658 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=2.056818ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.659 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.665 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.665 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.666 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.668 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=172] [neededSchemaVersion=173] ["start time"=406.379Β΅s] [gotSchemaVersion=173] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.671 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=173] [2024/05/06 10:41:00.672 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=4.017162ms] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.673 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.682 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.682 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=138] [conn=3] [category=ddl] [job="ID:138, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.683 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.685 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=173] [neededSchemaVersion=174] ["start time"=379.906Β΅s] [gotSchemaVersion=174] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.687 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=138] [version=174] [2024/05/06 10:41:00.689 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=4.128864ms] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.690 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.696 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=138] [tableID=111] [indexIDs="[16,9223090561878065168]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.698 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="add index"] [2024/05/06 10:41:00.698 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=138] [conn=3] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.701 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=138] [2024/05/06 10:41:00.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:138, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:00.582 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.704 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=138] [elementID=1] [startKey=74800000000000006f5f698000000000000010] [endKey=74800000000000006f5f698000000000000011] [2024/05/06 10:41:00.706 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=138] [2024/05/06 10:41:00.706 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:00.706 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=168] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:00.706 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=138] [elementID=2] [startKey=74800000000000006f5f69ffff000000000010] [endKey=74800000000000006f5f69ffff000000000011] [2024/05/06 10:41:00.706 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=174] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:00.708 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:00.708 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:00.717 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.717 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":17,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:00.717 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:00.718 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=174] [neededSchemaVersion=175] ["start time"=375.742Β΅s] [gotSchemaVersion=175] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=175] [2024/05/06 10:41:00.723 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=4.043796ms] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.724 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.731 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.731 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.731 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.733 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=175] [neededSchemaVersion=176] ["start time"=250.854Β΅s] [gotSchemaVersion=176] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.734 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=176] [2024/05/06 10:41:00.735 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=2.031714ms] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.736 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.740 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.741 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.741 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.743 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=176] [neededSchemaVersion=177] ["start time"=267.816Β΅s] [gotSchemaVersion=177] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.744 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=177] [2024/05/06 10:41:00.745 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=2.86708ms] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.746 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.752 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.753 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.753 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=139] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:00.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.756 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.757 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.763 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.763 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.763 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.765 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:17,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:00.766 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:00.766 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:00.767 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:00.776 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:00.776 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.777 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.778 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.784 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.784 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.784 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.798 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:00.799 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.799 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.800 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.806 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.806 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.807 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.819 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:00.819 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.820 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.821 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.826 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.827 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.827 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.839 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:00.839 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.840 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.841 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.847 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.847 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.847 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.862 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:00.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.863 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.864 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.873 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.873 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.874 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.922 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=352] [2024/05/06 10:41:00.922 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.923 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:00.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.931 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.932 +00:00] [INFO] [rollingback.go:265] ["run the cancelling DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.932 +00:00] [INFO] [ddl.go:615] ["notify reorg worker the job's state"] [category=ddl] ["Job ID"=139] ["Job State"=cancelling] ["Schema State"="write reorganization"] [2024/05/06 10:41:00.932 +00:00] [INFO] [backfilling.go:399] ["backfill worker exit on error"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=139] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:00.932 +00:00] [WARN] [backfilling.go:641] ["backfill worker failed"] [category=ddl] ["job ID"=139] ["total added count"=0] ["start key"=74800000000000006f5f728000000000000001] ["result next key"=74800000000000006f5f72800000000000054000] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:00.932 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=139] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:00.933 +00:00] [WARN] [index.go:1058] ["run add index job failed, convert job to rollback"] [category=ddl] [job="ID:139, Type:add index, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:6, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:00.936 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:3, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.runReorgJobAndHandleErr\n\tpkg/ddl/index.go:1059\ngithub.com/pingcap/tidb/pkg/ddl.doReorgWorkForCreateIndex\n\tpkg/ddl/index.go:869\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).onCreateIndex\n\tpkg/ddl/index.go:731\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:267\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:00.936 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:3, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=177] [neededSchemaVersion=178] ["start time"=254.38Β΅s] [gotSchemaVersion=178] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=178] [2024/05/06 10:41:00.942 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=178] ["take time"=5.055079ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:3, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.943 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:3, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.948 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.948 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.949 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=178] [neededSchemaVersion=179] ["start time"=902.814Β΅s] [gotSchemaVersion=179] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.954 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=179] [2024/05/06 10:41:00.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=4.891646ms] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.957 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=139] [conn=3] [category=ddl] [job="ID:139, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:352, ArgLen:0, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.964 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.967 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=179] [neededSchemaVersion=180] ["start time"=370.638Β΅s] [gotSchemaVersion=180] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:00.968 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=139] [version=180] [2024/05/06 10:41:00.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=4.265329ms] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:00.978 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=139] [tableID=111] [indexIDs="[17,9223090561878065169]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:00.979 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="add index"] [2024/05/06 10:41:00.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=139] [conn=3] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.004 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=139] [2024/05/06 10:41:01.005 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:139, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:352, ArgLen:2, start time: 2024-05-06 10:41:00.707 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:449574878774034432, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.017 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=139] [2024/05/06 10:41:01.017 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.018 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=174] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3938\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.018 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=180] [cur_db=test] [sql="alter table t add unique index idx_uc2 (c2)"] [user=] [2024/05/06 10:41:01.023 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.023 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add unique index idx_uc2 (c2)"] [2024/05/06 10:41:01.028 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=139] [elementID=1] [startKey=74800000000000006f5f698000000000000011] [endKey=74800000000000006f5f698000000000000012] [2024/05/06 10:41:01.030 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=139] [elementID=2] [startKey=74800000000000006f5f69ffff000000000011] [endKey=74800000000000006f5f69ffff000000000012] [2024/05/06 10:41:01.035 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.035 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.035 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":18,\"idx_name\":{\"O\":\"idx_uc2\",\"L\":\"idx_uc2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.035 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.036 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.038 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=180] [neededSchemaVersion=181] ["start time"=427.133Β΅s] [gotSchemaVersion=181] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.039 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=181] [2024/05/06 10:41:01.040 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=2.607712ms] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.042 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.049 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.051 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.052 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=181] [neededSchemaVersion=182] ["start time"=427.573Β΅s] [gotSchemaVersion=182] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.058 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=182] [2024/05/06 10:41:01.065 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=10.389914ms] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.067 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.075 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.076 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.079 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=182] [neededSchemaVersion=183] ["start time"=408.069Β΅s] [gotSchemaVersion=183] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.080 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=183] [2024/05/06 10:41:01.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=8.486552ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.089 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.097 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.098 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.098 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.099 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:01.101 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.102 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.102 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.110 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.111 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.113 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:01.114 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:01.114 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:01.115 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:01.124 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:01.124 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.125 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.134 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.134 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.147 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:01.147 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.148 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.149 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.156 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.157 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.169 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:01.169 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.170 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.178 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.178 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.190 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:01.191 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.191 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.192 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.200 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.200 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.201 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.213 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:01.213 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.214 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.214 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.221 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.221 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.222 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.280 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=512] [2024/05/06 10:41:01.280 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.281 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.282 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.289 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.289 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.289 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=140] [table=t] ["ingest mode"=false] [index=idx_uc2] [2024/05/06 10:41:01.293 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 140"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=78.106296ms] [2024/05/06 10:41:01.293 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=140] [2024/05/06 10:41:01.293 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:01.293 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:01.333 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.335 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=183] [neededSchemaVersion=184] ["start time"=375.593Β΅s] [gotSchemaVersion=184] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=184] [2024/05/06 10:41:01.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=4.294932ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.347 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.347 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878864474112, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.347 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=140] [table=t] [index=idx_uc2] [2024/05/06 10:41:01.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.352 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=184] [neededSchemaVersion=185] ["start time"=2.24848ms] [gotSchemaVersion=185] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.354 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=185] [2024/05/06 10:41:01.354 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=4.249187ms] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.361 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.367 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.367 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.368 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=140] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000012ff] [2024/05/06 10:41:01.370 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.371 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.371 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.384 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.384 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.386 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:18,StartKey:74800000000000006f5f69ffff000000000012,EndKey:74800000000000006f5f69ffff000000000012ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:01.387 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000012] ["end key"=74800000000000006f5f69ffff000000000012ff] [2024/05/06 10:41:01.387 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000012ff] [2024/05/06 10:41:01.387 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000012ff] ["current end key"=74800000000000006f5f69ffff00000000001200] [2024/05/06 10:41:01.436 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:01.436 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.437 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.437 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.444 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.444 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.488 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000012, 74800000000000006f5f69ffff00000000001200), jobID: 140"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000120000] ["take time"=264.784Β΅s] [2024/05/06 10:41:01.488 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=140] [2024/05/06 10:41:01.488 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:18,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000012] [2024/05/06 10:41:01.496 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:01.496 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.497 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.497 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.505 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=140] [conn=3] [category=ddl] [job="ID:140, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.507 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:01.545 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:01.546 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.548 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=185] [neededSchemaVersion=186] ["start time"=415.416Β΅s] [gotSchemaVersion=186] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.549 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=140] [version=186] [2024/05/06 10:41:01.550 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=2.339429ms] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.551 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.560 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=140] [tableID=111] [indexIDs="[9223090561878065170]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:01.561 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="add index"] [2024/05/06 10:41:01.562 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=140] [conn=3] [job="ID:140, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.565 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:140, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.02 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574878935252992, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.568 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=140] [elementID=1] [startKey=74800000000000006f5f69ffff000000000012] [endKey=74800000000000006f5f69ffff000000000013] [2024/05/06 10:41:01.571 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=140] [2024/05/06 10:41:01.571 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:01.571 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=186] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 10:41:01.584 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.584 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 10:41:01.599 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=141] [conn=3] [category=ddl] [job="ID:141, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.602 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:141, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":19,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.602 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.602 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:141, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.604 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574878995808256, conflictStartTS=449574878995808257, conflictCommitTS=449574878996332544, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:01.604 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574878995808256, conflictStartTS=449574878995808257, conflictCommitTS=449574878996332544, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:01.604 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574878995808256, conflictStartTS=449574878995808257, conflictCommitTS=449574878996332544, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=141}, originalKey=748000fffffffffffe5f72800000000000008d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:141, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.610 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:141, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.611 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=141] [conn=3] [category=ddl] [job="ID:141, Type:add index, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.611 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=141] [conn=3] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:01.611 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.611 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=141] [conn=3] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.614 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:141, Type:add index, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:01.573 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.616 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=141] [2024/05/06 10:41:01.617 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.617 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=186] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.617 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=186] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 10:41:01.620 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.620 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 10:41:01.630 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.630 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":19,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.630 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.631 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.634 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=186] [neededSchemaVersion=188] ["start time"=410.607Β΅s] [gotSchemaVersion=188] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.635 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=188] [2024/05/06 10:41:01.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=2.164352ms] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.636 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.640 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.642 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.643 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.644 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879006556160, conflictStartTS=449574879006818304, conflictCommitTS=449574879007080448, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:01.644 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879006556160, conflictStartTS=449574879006818304, conflictCommitTS=449574879007080448, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:01.644 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879006556160, conflictStartTS=449574879006818304, conflictCommitTS=449574879007080448, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=142}, originalKey=748000fffffffffffe5f72800000000000008e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:142, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.652 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.652 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.652 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:01.652 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.653 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142] [2024/05/06 10:41:01.654 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.661 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.663 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=188] [neededSchemaVersion=190] ["start time"=418.92Β΅s] [gotSchemaVersion=190] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.665 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=190] [2024/05/06 10:41:01.665 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=190] ["take time"=2.163574ms] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.666 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.674 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.674 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=142] [conn=3] [category=ddl] [job="ID:142, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.685 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.688 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=190] [neededSchemaVersion=191] ["start time"=426.443Β΅s] [gotSchemaVersion=191] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=142] [version=191] [2024/05/06 10:41:01.692 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=4.965416ms] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.693 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.700 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=142] [tableID=111] [indexIDs="[19,9223090561878065171]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:01.702 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="add index"] [2024/05/06 10:41:01.702 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=142] [conn=3] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.705 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=142] [2024/05/06 10:41:01.705 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=142] [elementID=1] [startKey=74800000000000006f5f698000000000000013] [endKey=74800000000000006f5f698000000000000014] [2024/05/06 10:41:01.705 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:142, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.619 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.706 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=142] [elementID=2] [startKey=74800000000000006f5f69ffff000000000013] [endKey=74800000000000006f5f69ffff000000000014] [2024/05/06 10:41:01.708 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=142] [2024/05/06 10:41:01.708 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.708 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=186] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.708 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=191] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 10:41:01.711 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.711 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 10:41:01.719 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.720 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.720 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":20,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.720 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.720 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.724 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=191] [neededSchemaVersion=192] ["start time"=406.687Β΅s] [gotSchemaVersion=192] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.725 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=192] [2024/05/06 10:41:01.726 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=3.01084ms] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.727 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.736 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.736 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.736 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=143] [conn=3] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:01.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.737 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143] [2024/05/06 10:41:01.738 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.743 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.743 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.744 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.746 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=192] [neededSchemaVersion=193] ["start time"=403.013Β΅s] [gotSchemaVersion=193] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=193] [2024/05/06 10:41:01.748 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=193] ["take time"=2.215428ms] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.748 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.754 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.754 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=143] [conn=3] [category=ddl] [job="ID:143, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.754 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.756 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=193] [neededSchemaVersion=194] ["start time"=288.211Β΅s] [gotSchemaVersion=194] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=143] [version=194] [2024/05/06 10:41:01.762 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=6.144325ms] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.764 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.771 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=143] [tableID=111] [indexIDs="[20,9223090561878065172]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:01.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="add index"] [2024/05/06 10:41:01.772 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=143] [conn=3] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.775 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=143] [2024/05/06 10:41:01.775 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:143, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.709 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.775 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=143] [elementID=1] [startKey=74800000000000006f5f698000000000000014] [endKey=74800000000000006f5f698000000000000015] [2024/05/06 10:41:01.777 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=143] [elementID=2] [startKey=74800000000000006f5f69ffff000000000014] [endKey=74800000000000006f5f69ffff000000000015] [2024/05/06 10:41:01.778 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=143] [2024/05/06 10:41:01.778 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.778 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=191] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.779 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=194] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 10:41:01.781 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.781 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 10:41:01.787 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.787 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.787 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":21,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.787 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.788 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.790 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=194] [neededSchemaVersion=195] ["start time"=389.83Β΅s] [gotSchemaVersion=195] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.791 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=195] [2024/05/06 10:41:01.793 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=4.233361ms] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.795 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.803 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.803 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.804 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.806 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=195] [neededSchemaVersion=196] ["start time"=348.656Β΅s] [gotSchemaVersion=196] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.807 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=196] [2024/05/06 10:41:01.807 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=2.192926ms] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.808 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.817 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.819 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.820 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.821 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879052693504, conflictStartTS=449574879052955648, conflictCommitTS=449574879053217792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:01.821 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879052693504, conflictStartTS=449574879052955648, conflictCommitTS=449574879053217792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:01.821 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 8, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879052693504, conflictStartTS=449574879052955648, conflictCommitTS=449574879053217792, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=144}, originalKey=748000fffffffffffe5f728000000000000090, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:144, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.826 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.826 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.827 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:01.827 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=196] [neededSchemaVersion=198] ["start time"=370.598Β΅s] [gotSchemaVersion=198] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.830 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=198] [2024/05/06 10:41:01.830 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=2.022826ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.831 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.837 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.837 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.838 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=198] [neededSchemaVersion=199] ["start time"=336.078Β΅s] [gotSchemaVersion=199] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.841 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=199] [2024/05/06 10:41:01.842 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=199] ["take time"=2.337441ms] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.842 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.848 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.848 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=144] [conn=3] [category=ddl] [job="ID:144, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.849 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.851 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=199] [neededSchemaVersion=200] ["start time"=262.472Β΅s] [gotSchemaVersion=200] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.852 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=144] [version=200] [2024/05/06 10:41:01.852 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=2.215765ms] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.853 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.860 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=144] [tableID=111] [indexIDs="[21,9223090561878065173]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:01.861 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="add index"] [2024/05/06 10:41:01.862 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=144] [conn=3] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.864 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=144] [2024/05/06 10:41:01.865 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:144, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.78 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.866 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=144] [elementID=1] [startKey=74800000000000006f5f698000000000000015] [endKey=74800000000000006f5f698000000000000016] [2024/05/06 10:41:01.868 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=144] [2024/05/06 10:41:01.868 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.868 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=144] [elementID=2] [startKey=74800000000000006f5f69ffff000000000015] [endKey=74800000000000006f5f69ffff000000000016] [2024/05/06 10:41:01.868 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=194] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.868 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=200] [cur_db=test] [sql="alter table t add index idx_c2(c2)"] [user=] [2024/05/06 10:41:01.870 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.870 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c2(c2)"] [2024/05/06 10:41:01.880 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.880 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.880 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":22,\"idx_name\":{\"O\":\"idx_c2\",\"L\":\"idx_c2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.880 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.881 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=200] [neededSchemaVersion=201] ["start time"=433.202Β΅s] [gotSchemaVersion=201] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.884 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=201] [2024/05/06 10:41:01.884 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=2.065099ms] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.885 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.891 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.891 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.892 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.894 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=201] [neededSchemaVersion=202] ["start time"=438.185Β΅s] [gotSchemaVersion=202] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.896 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=202] [2024/05/06 10:41:01.899 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=202] ["take time"=4.762165ms] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.900 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.908 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.908 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.909 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=145] [conn=3] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.completeErr\n\tpkg/ddl/index_cop.go:319\ngithub.com/pingcap/tidb/pkg/ddl.convertAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:93\ngithub.com/pingcap/tidb/pkg/ddl.convertNotReorgAddIdxJob2RollbackJob\n\tpkg/ddl/rollingback.go:139\ngithub.com/pingcap/tidb/pkg/ddl.rollingbackAddIndex\n\tpkg/ddl/rollingback.go:270\ngithub.com/pingcap/tidb/pkg/ddl.convertJob2RollbackJob\n\tpkg/ddl/rollingback.go:480\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).runDDLJob\n\tpkg/ddl/ddl_worker.go:1202\ngithub.com/pingcap/tidb/pkg/ddl.(*worker).HandleDDLJobTable\n\tpkg/ddl/ddl_worker.go:946\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2Worker.func1\n\tpkg/ddl/job_table.go:461\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:157\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [2024/05/06 10:41:01.910 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.912 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=202] [neededSchemaVersion=203] ["start time"=433.774Β΅s] [gotSchemaVersion=203] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.913 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=203] [2024/05/06 10:41:01.913 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=2.077499ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.914 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.921 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.922 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.924 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=203] [neededSchemaVersion=204] ["start time"=328.102Β΅s] [gotSchemaVersion=204] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.926 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=204] [2024/05/06 10:41:01.926 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=204] ["take time"=2.183106ms] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.927 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=145] [conn=3] [category=ddl] [job="ID:145, Type:add index, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.934 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=204] [neededSchemaVersion=205] ["start time"=446.633Β΅s] [gotSchemaVersion=205] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.938 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=145] [version=205] [2024/05/06 10:41:01.940 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=205] ["take time"=4.404675ms] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.941 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.947 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=145] [tableID=111] [indexIDs="[22,9223090561878065174]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:01.948 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=145] [jobType="add index"] [2024/05/06 10:41:01.948 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=145] [conn=3] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.950 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=145] [elementID=1] [startKey=74800000000000006f5f698000000000000016] [endKey=74800000000000006f5f698000000000000017] [2024/05/06 10:41:01.950 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=145] [2024/05/06 10:41:01.951 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:145, Type:add index, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:01.869 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.951 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=145] [elementID=2] [startKey=74800000000000006f5f69ffff000000000016] [endKey=74800000000000006f5f69ffff000000000017] [2024/05/06 10:41:01.952 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=145] [2024/05/06 10:41:01.952 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:01.952 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=200] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).createIndex\n\tpkg/ddl/ddl_api.go:7732\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3935\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:01.953 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=205] [cur_db=test] [sql="alter table t add index idx_cx2(c2)"] [user=] [2024/05/06 10:41:01.954 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:01.954 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_cx2(c2)"] [2024/05/06 10:41:01.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.963 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":23,\"idx_name\":{\"O\":\"idx_cx2\",\"L\":\"idx_cx2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c2\",\"L\":\"c2\"},\"offset\":1,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:01.963 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:01.964 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=205] [neededSchemaVersion=206] ["start time"=415.719Β΅s] [gotSchemaVersion=206] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=206] [2024/05/06 10:41:01.969 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=4.027526ms] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.970 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.975 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.975 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.976 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.978 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=206] [neededSchemaVersion=207] ["start time"=455.85Β΅s] [gotSchemaVersion=207] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:01.980 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=207] [2024/05/06 10:41:01.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=207] ["take time"=13.317118ms] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.999 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.999 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:01.999 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=207] [neededSchemaVersion=208] ["start time"=383.662Β΅s] [gotSchemaVersion=208] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:02.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=208] [2024/05/06 10:41:02.003 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=2.167652ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.010 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.010 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.010 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.011 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:02.013 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.014 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.015 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.021 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.021 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.022 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.023 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:02.024 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:02.024 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:02.025 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:02.034 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:02.034 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.035 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.035 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.043 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.043 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.056 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:02.056 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.057 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.057 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.064 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.064 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.077 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:02.077 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.078 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.078 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.084 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.084 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.084 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.097 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:02.097 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.098 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.099 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.105 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.105 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.106 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.118 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:02.118 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.119 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.119 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.129 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.129 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.185 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=512] [2024/05/06 10:41:02.185 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.186 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.186 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.190 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 146"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=65.569922ms] [2024/05/06 10:41:02.191 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=146] [2024/05/06 10:41:02.191 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:23,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:02.193 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.194 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=146] [table=t] ["ingest mode"=false] [index=idx_cx2] [2024/05/06 10:41:02.195 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:02.234 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=208] [neededSchemaVersion=209] ["start time"=398.644Β΅s] [gotSchemaVersion=209] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:02.238 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=209] [2024/05/06 10:41:02.240 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=4.312124ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.241 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.247 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.247 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879103549441, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.247 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=146] [table=t] [index=idx_cx2] [2024/05/06 10:41:02.248 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.250 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=209] [neededSchemaVersion=210] ["start time"=348.24Β΅s] [gotSchemaVersion=210] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:02.251 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=210] [2024/05/06 10:41:02.252 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=2.032737ms] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.252 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.259 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.259 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.259 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=146] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000017ff] [2024/05/06 10:41:02.262 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.263 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.263 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.270 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.270 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.272 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:23,StartKey:74800000000000006f5f69ffff000000000017,EndKey:74800000000000006f5f69ffff000000000017ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:02.272 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000017] ["end key"=74800000000000006f5f69ffff000000000017ff] [2024/05/06 10:41:02.273 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000017ff] [2024/05/06 10:41:02.273 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000017ff] ["current end key"=74800000000000006f5f69ffff00000000001700] [2024/05/06 10:41:02.339 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:02.339 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.340 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.347 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.348 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.373 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000017, 74800000000000006f5f69ffff00000000001700), jobID: 146"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000170000] ["take time"=183.171Β΅s] [2024/05/06 10:41:02.373 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=146] [2024/05/06 10:41:02.373 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:23,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000017] [2024/05/06 10:41:02.395 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:02.395 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.396 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.397 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.403 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.403 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=146] [conn=3] [category=ddl] [job="ID:146, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.406 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:02.444 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:02.444 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.447 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=210] [neededSchemaVersion=211] ["start time"=452.336Β΅s] [gotSchemaVersion=211] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:02.449 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=146] [version=211] [2024/05/06 10:41:02.451 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=4.2455ms] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.452 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.461 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=146] [tableID=111] [indexIDs="[9223090561878065175]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:02.462 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="add index"] [2024/05/06 10:41:02.463 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=146] [conn=3] [job="ID:146, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.466 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=146] [elementID=1] [startKey=74800000000000006f5f69ffff000000000017] [endKey=74800000000000006f5f69ffff000000000018] [2024/05/06 10:41:02.467 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:146, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:01.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879168823297, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:02.473 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=146] [2024/05/06 10:41:02.473 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:02.474 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=211] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.476 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.476 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [category=ddl] [job="ID:147, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.487 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:147, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.488 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:147, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.489 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879228067840, conflictStartTS=449574879228067841, conflictCommitTS=449574879228592128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:02.489 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879228067840, conflictStartTS=449574879228067841, conflictCommitTS=449574879228592128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:02.489 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879228067840, conflictStartTS=449574879228067841, conflictCommitTS=449574879228592128, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=147}, originalKey=748000fffffffffffe5f728000000000000093, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:147, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.495 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:147, Type:add column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.495 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [category=ddl] [job="ID:147, Type:add column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.495 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.495 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.495 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=147] [conn=3] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.498 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:147, Type:add column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.475 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.498 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=147] [2024/05/06 10:41:02.498 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.498 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=211] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.499 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=211] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.502 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.502 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.510 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.511 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.511 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":5,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.511 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=211] [neededSchemaVersion=213] ["start time"=497.545Β΅s] [gotSchemaVersion=213] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.515 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=213] [2024/05/06 10:41:02.515 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=2.251008ms] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.516 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.520 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.522 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.522 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.523 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879237242880, conflictStartTS=449574879237242881, conflictCommitTS=449574879237505024, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:02.524 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879237242880, conflictStartTS=449574879237242881, conflictCommitTS=449574879237505024, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:02.524 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879237242880, conflictStartTS=449574879237242881, conflictCommitTS=449574879237505024, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=148}, originalKey=748000fffffffffffe5f728000000000000094, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:148, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.529 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.529 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.530 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.530 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.531 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148] [2024/05/06 10:41:02.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.534 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.535 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=213] [neededSchemaVersion=215] ["start time"=387.306Β΅s] [gotSchemaVersion=215] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=215] [2024/05/06 10:41:02.539 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=2.460056ms] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.540 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.543 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.543 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [category=ddl] [job="ID:148, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.544 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.546 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=215] [neededSchemaVersion=216] ["start time"=556.534Β΅s] [gotSchemaVersion=216] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.548 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=148] [version=216] [2024/05/06 10:41:02.548 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=2.413809ms] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.549 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.553 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=148] [conn=3] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.555 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=148] [2024/05/06 10:41:02.556 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:148, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.501 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.556 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=148] [2024/05/06 10:41:02.556 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.556 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=211] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.556 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=216] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.559 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.559 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.570 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.571 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.571 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":6,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.571 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.574 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=216] [neededSchemaVersion=217] ["start time"=441.112Β΅s] [gotSchemaVersion=217] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.575 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=217] [2024/05/06 10:41:02.576 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=217] ["take time"=2.726526ms] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.577 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.587 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.587 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.588 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.588 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.589 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149] [2024/05/06 10:41:02.590 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.595 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.596 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.596 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.598 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=217] [neededSchemaVersion=218] ["start time"=448.859Β΅s] [gotSchemaVersion=218] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.600 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=218] [2024/05/06 10:41:02.602 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=4.600407ms] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.603 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.608 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.608 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [category=ddl] [job="ID:149, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.609 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.611 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=218] [neededSchemaVersion=219] ["start time"=395.307Β΅s] [gotSchemaVersion=219] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.612 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=149] [version=219] [2024/05/06 10:41:02.615 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=219] ["take time"=4.880285ms] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.616 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.621 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=149] [conn=3] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.623 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=149] [2024/05/06 10:41:02.624 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:149, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.558 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.624 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=149] [2024/05/06 10:41:02.624 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.624 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=216] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.624 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=219] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.627 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.627 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.635 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":7,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.635 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.637 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=219] [neededSchemaVersion=220] ["start time"=296.886Β΅s] [gotSchemaVersion=220] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.638 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=220] [2024/05/06 10:41:02.640 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=2.978619ms] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.643 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.643 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.644 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=220] [neededSchemaVersion=221] ["start time"=298.343Β΅s] [gotSchemaVersion=221] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.646 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=221] [2024/05/06 10:41:02.647 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=2.284034ms] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.648 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.651 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.653 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.653 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.655 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879271583744, conflictStartTS=449574879271583745, conflictCommitTS=449574879271845888, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:02.655 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879271583744, conflictStartTS=449574879271583745, conflictCommitTS=449574879271845888, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:02.655 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879271583744, conflictStartTS=449574879271583745, conflictCommitTS=449574879271845888, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=150}, originalKey=748000fffffffffffe5f728000000000000096, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:150, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.658 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.658 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.659 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.659 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.661 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=221] [neededSchemaVersion=223] ["start time"=411.723Β΅s] [gotSchemaVersion=223] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.662 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=223] [2024/05/06 10:41:02.665 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=4.497464ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.666 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.670 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.670 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.671 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.673 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=223] [neededSchemaVersion=224] ["start time"=458.346Β΅s] [gotSchemaVersion=224] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.675 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=224] [2024/05/06 10:41:02.678 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=4.77232ms] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.679 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.684 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.684 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [category=ddl] [job="ID:150, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.685 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.687 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=224] [neededSchemaVersion=225] ["start time"=416.702Β΅s] [gotSchemaVersion=225] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.689 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=150] [version=225] [2024/05/06 10:41:02.691 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=225] ["take time"=4.166554ms] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.692 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.698 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=150] [conn=3] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.701 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=150] [2024/05/06 10:41:02.702 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:150, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.702 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=150] [2024/05/06 10:41:02.702 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.702 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=219] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.702 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=225] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.706 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.706 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.715 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.715 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.715 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":8,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.716 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.718 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=225] [neededSchemaVersion=226] ["start time"=331.939Β΅s] [gotSchemaVersion=226] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.720 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=226] [2024/05/06 10:41:02.721 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=226] ["take time"=4.065534ms] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.722 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.727 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.727 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.728 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=226] [neededSchemaVersion=227] ["start time"=508.114Β΅s] [gotSchemaVersion=227] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.732 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=227] [2024/05/06 10:41:02.734 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=227] ["take time"=4.65978ms] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.735 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.741 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.741 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.742 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.742 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.744 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=227] [neededSchemaVersion=228] ["start time"=443.174Β΅s] [gotSchemaVersion=228] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.746 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=228] [2024/05/06 10:41:02.748 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=4.033277ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.748 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.752 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.752 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.754 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=228] [neededSchemaVersion=229] ["start time"=418.656Β΅s] [gotSchemaVersion=229] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=229] [2024/05/06 10:41:02.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=4.8096ms] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.760 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.767 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.767 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [category=ddl] [job="ID:151, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.768 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.772 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=229] [neededSchemaVersion=230] ["start time"=388.146Β΅s] [gotSchemaVersion=230] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.773 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=151] [version=230] [2024/05/06 10:41:02.775 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=4.57825ms] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.776 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.783 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=151] [conn=3] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.786 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=151] [2024/05/06 10:41:02.787 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:151, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.704 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.787 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=151] [2024/05/06 10:41:02.787 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.787 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=225] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.787 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=230] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.790 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.790 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.796 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.796 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.797 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":9,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.798 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=230] [neededSchemaVersion=231] ["start time"=456.306Β΅s] [gotSchemaVersion=231] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.802 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=231] [2024/05/06 10:41:02.803 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=3.205003ms] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.804 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.809 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.809 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.810 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.812 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=231] [neededSchemaVersion=232] ["start time"=418.558Β΅s] [gotSchemaVersion=232] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.813 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=232] [2024/05/06 10:41:02.816 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=232] ["take time"=5.058257ms] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.817 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.822 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.822 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.825 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=232] [neededSchemaVersion=233] ["start time"=514.412Β΅s] [gotSchemaVersion=233] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.830 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=233] [2024/05/06 10:41:02.833 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=233] ["take time"=4.699959ms] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.834 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.840 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.841 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.843 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879320604672, conflictStartTS=449574879320604673, conflictCommitTS=449574879321128960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:02.843 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879320604672, conflictStartTS=449574879320604673, conflictCommitTS=449574879321128960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:02.843 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879320604672, conflictStartTS=449574879320604673, conflictCommitTS=449574879321128960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=152}, originalKey=748000fffffffffffe5f728000000000000098, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:152, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.852 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.852 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.853 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.853 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=233] [neededSchemaVersion=235] ["start time"=507.206Β΅s] [gotSchemaVersion=235] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.856 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=235] [2024/05/06 10:41:02.859 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=5.005896ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.860 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.866 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.866 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.866 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=235] [neededSchemaVersion=236] ["start time"=343.284Β΅s] [gotSchemaVersion=236] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.872 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=236] [2024/05/06 10:41:02.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=236] ["take time"=4.255457ms] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.873 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.883 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.883 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [category=ddl] [job="ID:152, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.884 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.887 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=236] [neededSchemaVersion=237] ["start time"=416.168Β΅s] [gotSchemaVersion=237] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.888 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=152] [version=237] [2024/05/06 10:41:02.890 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=4.31498ms] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.897 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=152] [conn=3] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.899 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=152] [2024/05/06 10:41:02.900 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:152, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.789 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.900 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=152] [2024/05/06 10:41:02.901 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.901 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=230] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.901 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=237] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.904 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.904 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:02.914 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.914 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.914 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":10,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:02.915 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.917 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=237] [neededSchemaVersion=238] ["start time"=468.023Β΅s] [gotSchemaVersion=238] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=238] [2024/05/06 10:41:02.918 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=2.228784ms] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.919 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.929 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.929 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.929 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=238] [neededSchemaVersion=239] ["start time"=480.475Β΅s] [gotSchemaVersion=239] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=239] [2024/05/06 10:41:02.934 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=2.62037ms] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.935 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.939 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.939 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.940 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.942 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=239] [neededSchemaVersion=240] ["start time"=405.103Β΅s] [gotSchemaVersion=240] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.943 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=240] [2024/05/06 10:41:02.946 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=240] ["take time"=4.968358ms] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.947 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.953 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.953 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:02.953 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=240] [neededSchemaVersion=241] ["start time"=433.558Β΅s] [gotSchemaVersion=241] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=241] [2024/05/06 10:41:02.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=241] ["take time"=2.037972ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.962 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.962 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.963 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.965 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=241] [neededSchemaVersion=242] ["start time"=462.95Β΅s] [gotSchemaVersion=242] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=242] [2024/05/06 10:41:02.969 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=4.428102ms] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.970 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.973 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.973 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [category=ddl] [job="ID:153, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.974 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.976 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=242] [neededSchemaVersion=243] ["start time"=457.201Β΅s] [gotSchemaVersion=243] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:02.977 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=153] [version=243] [2024/05/06 10:41:02.977 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=2.010491ms] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.979 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.986 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=153] [conn=3] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.989 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=153] [2024/05/06 10:41:02.989 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:153, Type:add column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.903 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:02.990 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=153] [2024/05/06 10:41:02.990 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:02.990 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=237] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AddColumn\n\tpkg/ddl/ddl_api.go:4407\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3878\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:02.990 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=243] [cur_db=test] [sql="alter table t add column c4 bigint"] [user=] [2024/05/06 10:41:02.993 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:02.993 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c4 bigint"] [2024/05/06 10:41:03.000 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.000 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.000 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":11,\"name\":{\"O\":\"c4\",\"L\":\"c4\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:03.000 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.002 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=243] [neededSchemaVersion=244] ["start time"=417.219Β΅s] [gotSchemaVersion=244] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:03.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=244] [2024/05/06 10:41:03.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=3.071228ms] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.006 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.010 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.011 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.011 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=244] [neededSchemaVersion=245] ["start time"=396.463Β΅s] [gotSchemaVersion=245] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:03.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=245] [2024/05/06 10:41:03.018 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=4.725175ms] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.019 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.027 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.027 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.030 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=245] [neededSchemaVersion=246] ["start time"=337.052Β΅s] [gotSchemaVersion=246] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:03.031 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=246] [2024/05/06 10:41:03.037 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=7.281054ms] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.041 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.041 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [category=ddl] [job="ID:154, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.041 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.044 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=246] [neededSchemaVersion=247] ["start time"=405.377Β΅s] [gotSchemaVersion=247] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:03.045 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=154] [version=247] [2024/05/06 10:41:03.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=2.463229ms] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.046 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.051 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=154] [conn=3] [job="ID:154, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.053 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:154, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:02.992 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.054 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=154] [2024/05/06 10:41:03.054 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.054 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=247] [cur_db=test] [sql="create table test_create_table(a int)"] [user=] [2024/05/06 10:41:03.057 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.057 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"] [2024/05/06 10:41:03.064 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.067 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [category=ddl] [job="ID:156, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.067 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:156, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.069 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879379849218, conflictStartTS=449574879379849219, conflictCommitTS=449574879380373504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:03.069 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879379849218, conflictStartTS=449574879379849219, conflictCommitTS=449574879380373504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:03.069 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879379849218, conflictStartTS=449574879379849219, conflictCommitTS=449574879380373504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=156}, originalKey=748000fffffffffffe5f72800000000000009c, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:156, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.076 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:156, Type:create table, State:cancelling, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [category=ddl] [job="ID:156, Type:create table, State:cancelling, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.076 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:03.076 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.076 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=156] [conn=3] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.080 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=156] [2024/05/06 10:41:03.080 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:03.080 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:156, Type:create table, State:cancelled, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.056 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.080 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=247] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTableWithInfo\n\tpkg/ddl/ddl_api.go:2879\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateTable\n\tpkg/ddl/ddl_api.go:2717\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateTable\n\tpkg/executor/ddl.go:268\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:160\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:03.080 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=247] [cur_db=test] [sql="create table test_create_table(a int)"] [user=] [2024/05/06 10:41:03.083 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.083 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table test_create_table(a int)"] [2024/05/06 10:41:03.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=158] [conn=3] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.095 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.097 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=247] [neededSchemaVersion=249] ["start time"=220.253Β΅s] [gotSchemaVersion=249] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:03.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=158] [version=249] [2024/05/06 10:41:03.099 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=2.81112ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.100 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.106 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=158] [conn=3] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.109 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.082 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.109 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=158] [2024/05/06 10:41:03.109 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.110 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.114 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.114 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.123 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.124 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.125 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879394791425, conflictStartTS=449574879395053568, conflictCommitTS=449574879395315712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:03.126 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879394791425, conflictStartTS=449574879395053568, conflictCommitTS=449574879395315712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:03.126 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879394791425, conflictStartTS=449574879395053568, conflictCommitTS=449574879395315712, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=159}, originalKey=748000fffffffffffe5f72800000000000009f, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.132 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:159, Type:drop table, State:cancelling, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.132 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [category=ddl] [job="ID:159, Type:drop table, State:cancelling, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.132 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:03.132 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.133 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=159] [conn=3] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.135 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=159] [2024/05/06 10:41:03.135 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:159, Type:drop table, State:cancelled, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.111 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.136 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:03.136 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=249] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).dropTableObject\n\tpkg/ddl/ddl_api.go:7048\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropTable\n\tpkg/ddl/ddl_api.go:7082\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropTable\n\tpkg/executor/ddl.go:349\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:171\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:03.136 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 10:41:03.136 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=249] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.138 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.139 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.154 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.154 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.155 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=249] [neededSchemaVersion=251] ["start time"=120.885Β΅s] [gotSchemaVersion=251] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=251] [2024/05/06 10:41:03.159 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=2.667362ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.160 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.164 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.168 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.171 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=251] [neededSchemaVersion=252] ["start time"=50.433Β΅s] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.173 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=252] [2024/05/06 10:41:03.175 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=252] ["take time"=4.889559ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.176 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.180 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.181 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [category=ddl] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:157, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.183 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=252] [neededSchemaVersion=253] ["start time"=40.407Β΅s] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.185 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=160] [version=253] [2024/05/06 10:41:03.186 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=253] ["take time"=2.473321ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.187 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.190 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[157]"] [comment="drop table: table ID"] [2024/05/06 10:41:03.191 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2024/05/06 10:41:03.192 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=160] [conn=3] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.194 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:157, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.137 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.196 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=160] [elementID=1] [startKey=74800000000000009d] [endKey=74800000000000009e] [2024/05/06 10:41:03.196 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=160] [2024/05/06 10:41:03.196 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.197 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=253] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 10:41:03.199 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.199 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 10:41:03.207 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=162] [conn=3] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.210 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=253] [neededSchemaVersion=254] ["start time"=195.715Β΅s] [gotSchemaVersion=254] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:03.212 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=162] [version=254] [2024/05/06 10:41:03.212 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=2.055431ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.213 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.218 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=162] [conn=3] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.221 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.221 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=162] [2024/05/06 10:41:03.222 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.222 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=254] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.224 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.224 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.229 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.229 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.230 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=254] [neededSchemaVersion=255] ["start time"=75.361Β΅s] [gotSchemaVersion=255] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=255] [2024/05/06 10:41:03.234 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=2.629912ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.235 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.242 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.242 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.242 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.244 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=255] [neededSchemaVersion=256] ["start time"=47.323Β΅s] [gotSchemaVersion=256] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.245 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=256] [2024/05/06 10:41:03.246 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=2.159281ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.251 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [category=ddl] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.252 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.254 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=256] [neededSchemaVersion=257] ["start time"=39.62Β΅s] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.255 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=163] [version=257] [2024/05/06 10:41:03.256 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=2.027358ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.256 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.260 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2024/05/06 10:41:03.263 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2024/05/06 10:41:03.265 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=163] [conn=3] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.267 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=163] [elementID=1] [startKey=7480000000000000a1] [endKey=7480000000000000a2] [2024/05/06 10:41:03.268 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.223 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.270 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=163] [2024/05/06 10:41:03.270 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.270 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=257] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 10:41:03.273 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.273 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 10:41:03.278 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.278 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=165] [conn=3] [category=ddl] [job="ID:165, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.279 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.282 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=257] [neededSchemaVersion=258] ["start time"=167.592Β΅s] [gotSchemaVersion=258] [phyTblIDs="[164]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:03.283 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=165] [version=258] [2024/05/06 10:41:03.283 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=2.104723ms] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.284 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:165, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.289 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=165] [conn=3] [job="ID:165, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.291 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:165, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.292 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=165] [2024/05/06 10:41:03.292 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.292 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=258] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.295 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.295 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.304 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.304 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.305 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=258] [neededSchemaVersion=259] ["start time"=75.195Β΅s] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=259] [2024/05/06 10:41:03.311 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=259] ["take time"=2.2155ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.312 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.316 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.316 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.318 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=259] [neededSchemaVersion=260] ["start time"=44.087Β΅s] [gotSchemaVersion=260] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.319 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=260] [2024/05/06 10:41:03.320 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=2.124544ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.321 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.327 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.328 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [category=ddl] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.332 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=260] [neededSchemaVersion=261] ["start time"=43.813Β΅s] [gotSchemaVersion=261] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.333 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=166] [version=261] [2024/05/06 10:41:03.334 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=261] ["take time"=2.243749ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.334 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.338 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=166] [tableIDs="[164]"] [comment="drop table: table ID"] [2024/05/06 10:41:03.339 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"] [2024/05/06 10:41:03.339 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=166] [conn=3] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.342 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=166] [elementID=1] [startKey=7480000000000000a4] [endKey=7480000000000000a5] [2024/05/06 10:41:03.342 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.344 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=166] [2024/05/06 10:41:03.344 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.344 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=261] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 10:41:03.349 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.349 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 10:41:03.355 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.355 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=168] [conn=3] [category=ddl] [job="ID:168, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.356 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.358 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=261] [neededSchemaVersion=262] ["start time"=224.221Β΅s] [gotSchemaVersion=262] [phyTblIDs="[167]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:03.359 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=168] [version=262] [2024/05/06 10:41:03.365 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=7.071476ms] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.366 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:168, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.369 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=168] [conn=3] [job="ID:168, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:168, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.376 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=168] [2024/05/06 10:41:03.376 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.376 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=262] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.378 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.378 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.382 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.383 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.384 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=262] [neededSchemaVersion=263] ["start time"=95.776Β΅s] [gotSchemaVersion=263] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=263] [2024/05/06 10:41:03.386 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=263] ["take time"=2.030123ms] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.387 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.393 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.393 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.393 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.395 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=263] [neededSchemaVersion=264] ["start time"=74.021Β΅s] [gotSchemaVersion=264] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.396 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=264] [2024/05/06 10:41:03.397 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=264] ["take time"=2.029117ms] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.398 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.401 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.401 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [category=ddl] [job="ID:169, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:167, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.402 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.404 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=264] [neededSchemaVersion=265] ["start time"=48.369Β΅s] [gotSchemaVersion=265] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.405 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=169] [version=265] [2024/05/06 10:41:03.407 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=3.321914ms] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.408 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.412 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=169] [tableIDs="[167]"] [comment="drop table: table ID"] [2024/05/06 10:41:03.414 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=169] [jobType="drop table"] [2024/05/06 10:41:03.415 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=169] [conn=3] [job="ID:169, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.417 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=169] [elementID=1] [startKey=7480000000000000a7] [endKey=7480000000000000a8] [2024/05/06 10:41:03.418 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:169, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:167, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.419 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=169] [2024/05/06 10:41:03.419 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.420 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=265] [cur_db=test] [sql="create table if not exists test_create_table(a int)"] [user=] [2024/05/06 10:41:03.422 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.422 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table if not exists test_create_table(a int)"] [2024/05/06 10:41:03.428 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.428 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=171] [conn=3] [category=ddl] [job="ID:171, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.434 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.436 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=265] [neededSchemaVersion=266] ["start time"=228.465Β΅s] [gotSchemaVersion=266] [phyTblIDs="[170]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:03.437 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=171] [version=266] [2024/05/06 10:41:03.439 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=3.026635ms] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.440 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:171, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.443 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=171] [conn=3] [job="ID:171, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.446 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=171] [2024/05/06 10:41:03.446 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:171, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.446 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.446 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=266] [cur_db=test] [sql="drop table test_create_table"] [user=] [2024/05/06 10:41:03.449 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.449 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table test_create_table"] [2024/05/06 10:41:03.457 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.457 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.457 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=266] [neededSchemaVersion=267] ["start time"=80.518Β΅s] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.462 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=267] [2024/05/06 10:41:03.464 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=4.598581ms] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.465 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.469 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.469 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.470 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.471 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=267] [neededSchemaVersion=268] ["start time"=48.27Β΅s] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.474 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=268] [2024/05/06 10:41:03.474 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=2.368065ms] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.476 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [category=ddl] [job="ID:172, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.480 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.482 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=268] [neededSchemaVersion=269] ["start time"=44.454Β΅s] [gotSchemaVersion=269] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"] [2024/05/06 10:41:03.483 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=172] [version=269] [2024/05/06 10:41:03.484 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=2.309869ms] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.485 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.490 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=172] [tableIDs="[170]"] [comment="drop table: table ID"] [2024/05/06 10:41:03.492 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=172] [jobType="drop table"] [2024/05/06 10:41:03.492 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=172] [conn=3] [job="ID:172, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.495 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:172, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:03.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.497 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=172] [elementID=1] [startKey=7480000000000000aa] [endKey=7480000000000000ab] [2024/05/06 10:41:03.498 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=172] [2024/05/06 10:41:03.498 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.498 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=269] [cur_db=test] [sql="create database test_create_db"] [user=] [2024/05/06 10:41:03.504 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.504 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"] [2024/05/06 10:41:03.513 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.515 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [category=ddl] [job="ID:174, Type:create schema, State:queueing, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.515 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:174, Type:create schema, State:done, SchemaState:public, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.517 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879497551872, conflictStartTS=449574879497551873, conflictCommitTS=449574879497814016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:03.517 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879497551872, conflictStartTS=449574879497551873, conflictCommitTS=449574879497814016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:03.517 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879497551872, conflictStartTS=449574879497551873, conflictCommitTS=449574879497814016, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=174}, originalKey=748000fffffffffffe5f7280000000000000ae, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:174, Type:create schema, State:done, SchemaState:public, SchemaID:173, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.521 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:174, Type:create schema, State:cancelling, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [category=ddl] [job="ID:174, Type:create schema, State:cancelling, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.521 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:03.521 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.521 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=174] [conn=3] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.524 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=174] [2024/05/06 10:41:03.524 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:174, Type:create schema, State:cancelled, SchemaState:none, SchemaID:173, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.503 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.524 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:03.524 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=269] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchemaWithInfo\n\tpkg/ddl/ddl_api.go:226\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateSchema\n\tpkg/ddl/ddl_api.go:174\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeCreateDatabase\n\tpkg/executor/ddl.go:258\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:156\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:03.524 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=269] [cur_db=test] [sql="create database test_create_db"] [user=] [2024/05/06 10:41:03.527 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.527 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database test_create_db"] [2024/05/06 10:41:03.535 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.535 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=176] [conn=3] [category=ddl] [job="ID:176, Type:create schema, State:queueing, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.536 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=269] [neededSchemaVersion=271] ["start time"=94.21Β΅s] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:03.539 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=176] [version=271] [2024/05/06 10:41:03.540 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=3.025822ms] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.541 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:176, Type:create schema, State:done, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.545 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=176] [conn=3] [job="ID:176, Type:create schema, State:synced, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.548 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=176] [2024/05/06 10:41:03.548 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.548 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:176, Type:create schema, State:synced, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.526 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.548 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.551 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.551 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.557 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.559 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [category=ddl] [job="ID:177, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.559 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:177, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.561 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879509086208, conflictStartTS=449574879509086209, conflictCommitTS=449574879509610496, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:03.561 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879509086208, conflictStartTS=449574879509086209, conflictCommitTS=449574879509610496, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:03.561 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879509086208, conflictStartTS=449574879509086209, conflictCommitTS=449574879509610496, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=177}, originalKey=748000fffffffffffe5f7280000000000000b1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:177, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.566 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelling, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.566 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [category=ddl] [job="ID:177, Type:drop schema, State:cancelling, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.566 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:03.566 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.567 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=177] [conn=3] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.572 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:177, Type:drop schema, State:cancelled, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.549 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.572 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=177] [2024/05/06 10:41:03.572 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:03.572 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=271] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropSchema\n\tpkg/ddl/ddl_api.go:648\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeDropDatabase\n\tpkg/executor/ddl.go:332\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:166\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:03.573 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 10:41:03.573 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=271] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.575 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.575 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.584 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.584 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:queueing, SchemaState:public, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.585 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.587 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=271] [neededSchemaVersion=273] ["start time"=122.136Β΅s] [gotSchemaVersion=273] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.588 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=273] [2024/05/06 10:41:03.589 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=273] ["take time"=2.482312ms] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.590 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.594 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.595 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:write only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.596 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.597 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=273] [neededSchemaVersion=274] ["start time"=35.159Β΅s] [gotSchemaVersion=274] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.598 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=274] [2024/05/06 10:41:03.600 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=274] ["take time"=2.513825ms] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.600 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.605 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [category=ddl] [job="ID:178, Type:drop schema, State:running, SchemaState:delete only, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.607 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.609 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=274] [neededSchemaVersion=275] ["start time"=36.894Β΅s] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.610 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=178] [version=275] [2024/05/06 10:41:03.628 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=19.757637ms] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.631 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:done, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop schema"] [2024/05/06 10:41:03.638 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=178] [conn=3] [job="ID:178, Type:drop schema, State:synced, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.649 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:178, Type:drop schema, State:synced, SchemaState:none, SchemaID:175, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.574 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=178] [2024/05/06 10:41:03.651 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.651 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=275] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 10:41:03.655 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.655 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 10:41:03.691 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.691 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=180] [conn=3] [category=ddl] [job="ID:180, Type:create schema, State:queueing, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.696 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.698 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=275] [neededSchemaVersion=276] ["start time"=118.203Β΅s] [gotSchemaVersion=276] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:03.700 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=180] [version=276] [2024/05/06 10:41:03.703 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=4.84369ms] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.704 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:180, Type:create schema, State:done, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.717 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=180] [conn=3] [job="ID:180, Type:create schema, State:synced, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.724 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=180] [2024/05/06 10:41:03.724 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.724 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:180, Type:create schema, State:synced, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.725 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=276] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.727 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.727 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.738 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:queueing, SchemaState:public, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.739 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.741 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=276] [neededSchemaVersion=277] ["start time"=90.203Β΅s] [gotSchemaVersion=277] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=277] [2024/05/06 10:41:03.743 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=2.198671ms] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.744 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.750 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:write only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.751 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.752 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=277] [neededSchemaVersion=278] ["start time"=41.408Β΅s] [gotSchemaVersion=278] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.754 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=278] [2024/05/06 10:41:03.755 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=2.72309ms] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.756 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.761 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.761 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [category=ddl] [job="ID:181, Type:drop schema, State:running, SchemaState:delete only, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.761 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.763 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=278] [neededSchemaVersion=279] ["start time"=41.431Β΅s] [gotSchemaVersion=279] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.765 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=181] [version=279] [2024/05/06 10:41:03.766 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=2.670718ms] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:done, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop schema"] [2024/05/06 10:41:03.772 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=181] [conn=3] [job="ID:181, Type:drop schema, State:synced, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.776 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:181, Type:drop schema, State:synced, SchemaState:none, SchemaID:179, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.778 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=181] [2024/05/06 10:41:03.778 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.779 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=279] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 10:41:03.782 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.782 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 10:41:03.793 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.793 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=183] [conn=3] [category=ddl] [job="ID:183, Type:create schema, State:queueing, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.793 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.795 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=279] [neededSchemaVersion=280] ["start time"=81.807Β΅s] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:03.797 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=183] [version=280] [2024/05/06 10:41:03.797 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=280] ["take time"=2.266391ms] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.798 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:183, Type:create schema, State:done, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.803 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=183] [conn=3] [job="ID:183, Type:create schema, State:synced, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.806 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=183] [2024/05/06 10:41:03.806 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.806 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:183, Type:create schema, State:synced, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.78 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.807 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=280] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.809 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.809 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.820 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.820 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:queueing, SchemaState:public, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.823 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.825 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=280] [neededSchemaVersion=281] ["start time"=99.299Β΅s] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.827 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=281] [2024/05/06 10:41:03.827 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=2.258616ms] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.828 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.833 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.833 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:write only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.833 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.835 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=281] [neededSchemaVersion=282] ["start time"=42.185Β΅s] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.837 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=282] [2024/05/06 10:41:03.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=282] ["take time"=2.228938ms] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.840 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.844 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [category=ddl] [job="ID:184, Type:drop schema, State:running, SchemaState:delete only, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.846 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.847 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=282] [neededSchemaVersion=283] ["start time"=34.724Β΅s] [gotSchemaVersion=283] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.849 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=184] [version=283] [2024/05/06 10:41:03.850 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=2.945819ms] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:done, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.856 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop schema"] [2024/05/06 10:41:03.856 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=184] [conn=3] [job="ID:184, Type:drop schema, State:synced, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.859 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:184, Type:drop schema, State:synced, SchemaState:none, SchemaID:182, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.861 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=184] [2024/05/06 10:41:03.861 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.862 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=283] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 10:41:03.865 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.865 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 10:41:03.873 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.873 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=186] [conn=3] [category=ddl] [job="ID:186, Type:create schema, State:queueing, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.874 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.875 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=283] [neededSchemaVersion=284] ["start time"=87.286Β΅s] [gotSchemaVersion=284] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:03.877 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=186] [version=284] [2024/05/06 10:41:03.878 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=2.663761ms] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.879 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:186, Type:create schema, State:done, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.888 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=186] [conn=3] [job="ID:186, Type:create schema, State:synced, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.890 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=186] [2024/05/06 10:41:03.890 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:186, Type:create schema, State:synced, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.890 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.891 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=284] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.893 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.893 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.900 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.900 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:queueing, SchemaState:public, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.902 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.904 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=284] [neededSchemaVersion=285] ["start time"=112.997Β΅s] [gotSchemaVersion=285] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.905 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=285] [2024/05/06 10:41:03.906 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=2.203376ms] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.907 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.911 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.911 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:write only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.912 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.913 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=285] [neededSchemaVersion=286] ["start time"=62.225Β΅s] [gotSchemaVersion=286] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.915 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=286] [2024/05/06 10:41:03.915 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=286] ["take time"=2.021304ms] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.916 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.921 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.921 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [category=ddl] [job="ID:187, Type:drop schema, State:running, SchemaState:delete only, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.922 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.923 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=286] [neededSchemaVersion=287] ["start time"=39.534Β΅s] [gotSchemaVersion=287] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.925 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=187] [version=287] [2024/05/06 10:41:03.925 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=287] ["take time"=2.144013ms] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.926 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:done, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.931 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop schema"] [2024/05/06 10:41:03.932 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=187] [conn=3] [job="ID:187, Type:drop schema, State:synced, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.935 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:187, Type:drop schema, State:synced, SchemaState:none, SchemaID:185, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.892 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.937 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=187] [2024/05/06 10:41:03.937 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.937 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=287] [cur_db=test] [sql="create database if not exists test_create_db"] [user=] [2024/05/06 10:41:03.939 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.939 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database if not exists test_create_db"] [2024/05/06 10:41:03.958 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.958 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=189] [conn=3] [category=ddl] [job="ID:189, Type:create schema, State:queueing, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.959 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.961 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=287] [neededSchemaVersion=288] ["start time"=75.419Β΅s] [gotSchemaVersion=288] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:03.962 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=189] [version=288] [2024/05/06 10:41:03.963 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=288] ["take time"=2.330707ms] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.964 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:189, Type:create schema, State:done, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.972 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=189] [conn=3] [job="ID:189, Type:create schema, State:synced, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.974 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:189, Type:create schema, State:synced, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.939 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.975 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=189] [2024/05/06 10:41:03.975 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:03.975 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=288] [cur_db=test] [sql="drop database test_create_db"] [user=] [2024/05/06 10:41:03.978 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:03.978 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop database test_create_db"] [2024/05/06 10:41:03.991 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.991 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:queueing, SchemaState:public, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.992 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.993 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=288] [neededSchemaVersion=289] ["start time"=105.936Β΅s] [gotSchemaVersion=289] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:03.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=289] [2024/05/06 10:41:03.995 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=2.260766ms] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:03.996 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.000 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.000 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:write only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.001 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.003 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=289] [neededSchemaVersion=290] ["start time"=37.737Β΅s] [gotSchemaVersion=290] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:04.004 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=290] [2024/05/06 10:41:04.005 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=290] ["take time"=2.733322ms] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.007 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.010 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.010 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [category=ddl] [job="ID:190, Type:drop schema, State:running, SchemaState:delete only, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.011 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=290] [neededSchemaVersion=291] ["start time"=37.714Β΅s] [gotSchemaVersion=291] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2024/05/06 10:41:04.013 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=190] [version=291] [2024/05/06 10:41:04.014 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=291] ["take time"=2.063525ms] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.015 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:done, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.020 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop schema"] [2024/05/06 10:41:04.020 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=190] [conn=3] [job="ID:190, Type:drop schema, State:synced, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.023 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:190, Type:drop schema, State:synced, SchemaState:none, SchemaID:188, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:03.976 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.026 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=190] [2024/05/06 10:41:04.026 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.026 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=291] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.029 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.029 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.035 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [category=ddl] [job="ID:191, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.038 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:191, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.040 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574879634391042, conflictStartTS=449574879634653184, conflictCommitTS=449574879634915328, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:04.040 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574879634391042, conflictStartTS=449574879634653184, conflictCommitTS=449574879634915328, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:04.040 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574879634391042, conflictStartTS=449574879634653184, conflictCommitTS=449574879634915328, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=191}, originalKey=748000fffffffffffe5f7280000000000000bf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:191, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.043 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:191, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [category=ddl] [job="ID:191, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.044 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:04.044 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.044 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=191] [conn=3] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.047 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=191] [2024/05/06 10:41:04.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:191, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.028 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.047 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:04.047 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=291] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5378\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:04.047 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=291] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.050 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.050 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.059 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.059 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.060 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.062 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=291] [neededSchemaVersion=293] ["start time"=420.168Β΅s] [gotSchemaVersion=293] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.064 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=293] [2024/05/06 10:41:04.064 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=293] ["take time"=2.535254ms] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.065 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.069 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.070 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.072 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=293] [neededSchemaVersion=294] ["start time"=363.087Β΅s] [gotSchemaVersion=294] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.073 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=294] [2024/05/06 10:41:04.074 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=294] ["take time"=2.714603ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.075 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.079 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.081 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.082 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.083 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=294] [neededSchemaVersion=295] ["start time"=440.178Β΅s] [gotSchemaVersion=295] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.085 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=295] [2024/05/06 10:41:04.087 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=4.501659ms] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.089 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [category=ddl] [job="ID:192, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.096 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.098 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=295] [neededSchemaVersion=296] ["start time"=398.569Β΅s] [gotSchemaVersion=296] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.100 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=192] [version=296] [2024/05/06 10:41:04.102 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=296] ["take time"=4.11774ms] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.103 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.107 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=192] [jobType="drop column"] [2024/05/06 10:41:04.107 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=192] [conn=3] [job="ID:192, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.111 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:192, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.114 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=192] [2024/05/06 10:41:04.114 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.115 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=296] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.117 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.117 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.124 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.124 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.125 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":12,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.125 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.127 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=296] [neededSchemaVersion=297] ["start time"=405.048Β΅s] [gotSchemaVersion=297] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.129 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=297] [2024/05/06 10:41:04.131 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=297] ["take time"=4.596927ms] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.133 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.138 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.138 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.138 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.141 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=297] [neededSchemaVersion=298] ["start time"=488.149Β΅s] [gotSchemaVersion=298] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.142 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=298] [2024/05/06 10:41:04.144 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=298] ["take time"=4.036975ms] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.146 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.153 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.156 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=298] [neededSchemaVersion=299] ["start time"=422.936Β΅s] [gotSchemaVersion=299] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.157 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=299] [2024/05/06 10:41:04.160 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=299] ["take time"=4.644885ms] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.161 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.165 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.165 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [category=ddl] [job="ID:193, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.166 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.170 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=299] [neededSchemaVersion=300] ["start time"=320.626Β΅s] [gotSchemaVersion=300] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.171 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=193] [version=300] [2024/05/06 10:41:04.172 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=4.236107ms] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.173 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.179 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=193] [conn=3] [job="ID:193, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.182 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:193, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.116 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.182 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=193] [2024/05/06 10:41:04.183 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.183 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=300] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.185 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.185 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.197 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.198 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.200 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=300] [neededSchemaVersion=301] ["start time"=442.183Β΅s] [gotSchemaVersion=301] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.202 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=301] [2024/05/06 10:41:04.205 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=4.935302ms] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.210 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.215 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.215 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.217 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=301] [neededSchemaVersion=302] ["start time"=439.798Β΅s] [gotSchemaVersion=302] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.220 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=302] [2024/05/06 10:41:04.221 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=302] ["take time"=4.244628ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.223 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.231 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.232 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=302] [neededSchemaVersion=303] ["start time"=516.475Β΅s] [gotSchemaVersion=303] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=303] [2024/05/06 10:41:04.238 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=4.485987ms] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.239 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.247 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.247 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [category=ddl] [job="ID:194, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.247 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.250 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=303] [neededSchemaVersion=304] ["start time"=416.316Β΅s] [gotSchemaVersion=304] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.251 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=194] [version=304] [2024/05/06 10:41:04.251 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=304] ["take time"=2.008719ms] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.252 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.257 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop column"] [2024/05/06 10:41:04.258 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=194] [conn=3] [job="ID:194, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.262 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:194, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.184 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.264 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=194] [2024/05/06 10:41:04.264 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.265 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=304] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.269 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.269 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.275 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.275 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.275 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":13,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.276 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.278 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=304] [neededSchemaVersion=305] ["start time"=468.616Β΅s] [gotSchemaVersion=305] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.279 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=305] [2024/05/06 10:41:04.283 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=5.21441ms] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.292 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.292 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.297 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=305] [neededSchemaVersion=306] ["start time"=465.455Β΅s] [gotSchemaVersion=306] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.310 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=306] [2024/05/06 10:41:04.312 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=4.20011ms] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.314 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.317 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.318 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.318 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.321 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=306] [neededSchemaVersion=307] ["start time"=436.936Β΅s] [gotSchemaVersion=307] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.322 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=307] [2024/05/06 10:41:04.324 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=3.851531ms] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.325 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.329 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.329 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [category=ddl] [job="ID:195, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.332 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=307] [neededSchemaVersion=308] ["start time"=400.369Β΅s] [gotSchemaVersion=308] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.334 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=195] [version=308] [2024/05/06 10:41:04.339 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=308] ["take time"=7.434529ms] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.341 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.345 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=195] [conn=3] [job="ID:195, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.349 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:195, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.266 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.349 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=195] [2024/05/06 10:41:04.349 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.350 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=308] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.352 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.352 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.362 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.363 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.365 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=308] [neededSchemaVersion=309] ["start time"=442.022Β΅s] [gotSchemaVersion=309] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.367 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=309] [2024/05/06 10:41:04.369 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=4.548171ms] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.370 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.378 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.380 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.381 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.383 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=309] [neededSchemaVersion=310] ["start time"=398.269Β΅s] [gotSchemaVersion=310] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.384 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=310] [2024/05/06 10:41:04.384 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=2.207032ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.385 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.389 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.389 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.390 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.392 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=310] [neededSchemaVersion=311] ["start time"=389.26Β΅s] [gotSchemaVersion=311] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.394 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=311] [2024/05/06 10:41:04.394 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=311] ["take time"=2.325235ms] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.395 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.399 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.399 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [category=ddl] [job="ID:196, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.400 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.402 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=311] [neededSchemaVersion=312] ["start time"=448.704Β΅s] [gotSchemaVersion=312] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.404 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=196] [version=312] [2024/05/06 10:41:04.406 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=312] ["take time"=4.761071ms] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.408 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.412 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=196] [jobType="drop column"] [2024/05/06 10:41:04.413 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=196] [conn=3] [job="ID:196, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.417 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:196, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.351 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.419 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=196] [2024/05/06 10:41:04.419 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.420 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=312] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.422 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.422 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.428 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.428 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.428 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":14,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.429 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.431 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=312] [neededSchemaVersion=313] ["start time"=481.479Β΅s] [gotSchemaVersion=313] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.433 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=313] [2024/05/06 10:41:04.433 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=2.628913ms] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.434 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.441 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.442 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.442 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.444 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=313] [neededSchemaVersion=314] ["start time"=439.38Β΅s] [gotSchemaVersion=314] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.446 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=314] [2024/05/06 10:41:04.446 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=314] ["take time"=2.171736ms] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.448 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.452 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.452 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.459 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.461 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=314] [neededSchemaVersion=315] ["start time"=461.876Β΅s] [gotSchemaVersion=315] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.463 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=315] [2024/05/06 10:41:04.465 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=4.105155ms] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [category=ddl] [job="ID:197, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.474 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=315] [neededSchemaVersion=316] ["start time"=469.372Β΅s] [gotSchemaVersion=316] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.475 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=197] [version=316] [2024/05/06 10:41:04.478 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=4.50162ms] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.479 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.484 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=197] [conn=3] [job="ID:197, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.487 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:197, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.421 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.489 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=197] [2024/05/06 10:41:04.489 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.489 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=316] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.492 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.492 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.499 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.500 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.502 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=316] [neededSchemaVersion=317] ["start time"=467.206Β΅s] [gotSchemaVersion=317] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.503 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=317] [2024/05/06 10:41:04.509 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=7.777405ms] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.517 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.517 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.517 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.520 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=317] [neededSchemaVersion=318] ["start time"=444.117Β΅s] [gotSchemaVersion=318] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.521 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=318] [2024/05/06 10:41:04.524 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=4.482542ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.525 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.533 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.533 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.534 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.538 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=318] [neededSchemaVersion=319] ["start time"=503.453Β΅s] [gotSchemaVersion=319] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.540 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=319] [2024/05/06 10:41:04.542 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=4.716693ms] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.543 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.548 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.549 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [category=ddl] [job="ID:198, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.549 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.552 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=319] [neededSchemaVersion=320] ["start time"=425.141Β΅s] [gotSchemaVersion=320] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.554 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=198] [version=320] [2024/05/06 10:41:04.558 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=320] ["take time"=6.211043ms] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.559 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.564 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=198] [jobType="drop column"] [2024/05/06 10:41:04.564 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=198] [conn=3] [job="ID:198, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.567 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:198, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.491 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.570 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=198] [2024/05/06 10:41:04.570 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.570 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=320] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.574 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.574 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.580 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.580 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.581 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":15,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.581 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.584 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=320] [neededSchemaVersion=321] ["start time"=445.009Β΅s] [gotSchemaVersion=321] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.585 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=321] [2024/05/06 10:41:04.587 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=4.03367ms] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.588 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.596 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.596 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.597 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.600 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=321] [neededSchemaVersion=322] ["start time"=473.717Β΅s] [gotSchemaVersion=322] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.602 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=322] [2024/05/06 10:41:04.607 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.316958ms] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.616 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.617 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=322] [neededSchemaVersion=323] ["start time"=423.831Β΅s] [gotSchemaVersion=323] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.621 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=323] [2024/05/06 10:41:04.623 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=4.146402ms] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.624 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.629 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [category=ddl] [job="ID:199, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.630 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=323] [neededSchemaVersion=324] ["start time"=463.67Β΅s] [gotSchemaVersion=324] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=199] [version=324] [2024/05/06 10:41:04.637 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=324] ["take time"=4.60572ms] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.638 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.643 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=199] [conn=3] [job="ID:199, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.646 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:199, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.572 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.646 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=199] [2024/05/06 10:41:04.646 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.647 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=324] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.649 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.649 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.661 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.663 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=324] [neededSchemaVersion=325] ["start time"=410.586Β΅s] [gotSchemaVersion=325] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.664 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=325] [2024/05/06 10:41:04.667 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=325] ["take time"=4.677889ms] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.668 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.678 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.678 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.684 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=325] [neededSchemaVersion=326] ["start time"=550.653Β΅s] [gotSchemaVersion=326] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=326] [2024/05/06 10:41:04.687 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=326] ["take time"=4.239128ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.688 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.693 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.694 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=326] [neededSchemaVersion=327] ["start time"=504.556Β΅s] [gotSchemaVersion=327] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=327] [2024/05/06 10:41:04.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=327] ["take time"=4.467881ms] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.701 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.706 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.708 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [category=ddl] [job="ID:200, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.708 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.711 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=327] [neededSchemaVersion=328] ["start time"=504.517Β΅s] [gotSchemaVersion=328] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.713 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=200] [version=328] [2024/05/06 10:41:04.715 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=4.270969ms] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.716 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.722 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop column"] [2024/05/06 10:41:04.723 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=200] [conn=3] [job="ID:200, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.726 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:200, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.729 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=200] [2024/05/06 10:41:04.729 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.729 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=328] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.733 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.733 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.742 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.742 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.743 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":16,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.743 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.745 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=328] [neededSchemaVersion=329] ["start time"=390.033Β΅s] [gotSchemaVersion=329] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.747 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=329] [2024/05/06 10:41:04.749 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=4.045131ms] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.750 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.753 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.754 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.756 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=329] [neededSchemaVersion=330] ["start time"=437.847Β΅s] [gotSchemaVersion=330] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=330] [2024/05/06 10:41:04.760 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=330] ["take time"=4.045856ms] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.766 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.766 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.767 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.769 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=330] [neededSchemaVersion=331] ["start time"=461.468Β΅s] [gotSchemaVersion=331] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.771 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=331] [2024/05/06 10:41:04.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=331] ["take time"=4.031767ms] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.778 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.778 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [category=ddl] [job="ID:201, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.779 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.781 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=331] [neededSchemaVersion=332] ["start time"=308.431Β΅s] [gotSchemaVersion=332] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.783 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=201] [version=332] [2024/05/06 10:41:04.784 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=332] ["take time"=2.668897ms] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.785 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.789 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=201] [conn=3] [job="ID:201, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.793 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:201, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.731 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.793 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=201] [2024/05/06 10:41:04.793 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.794 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=332] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.797 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.797 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.807 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.807 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.808 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.811 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=332] [neededSchemaVersion=333] ["start time"=389.21Β΅s] [gotSchemaVersion=333] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.812 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=333] [2024/05/06 10:41:04.815 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=333] ["take time"=4.859375ms] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.817 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.821 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.822 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.824 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=333] [neededSchemaVersion=334] ["start time"=485.348Β΅s] [gotSchemaVersion=334] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.826 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=334] [2024/05/06 10:41:04.829 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=334] ["take time"=5.286836ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.830 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.834 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.834 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.835 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.838 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=334] [neededSchemaVersion=335] ["start time"=401.611Β΅s] [gotSchemaVersion=335] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.839 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=335] [2024/05/06 10:41:04.842 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=335] ["take time"=4.920946ms] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.843 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.849 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [category=ddl] [job="ID:202, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.850 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=335] [neededSchemaVersion=336] ["start time"=448.372Β΅s] [gotSchemaVersion=336] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.854 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=202] [version=336] [2024/05/06 10:41:04.862 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=336] ["take time"=10.676923ms] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.864 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.871 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=202] [jobType="drop column"] [2024/05/06 10:41:04.871 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=202] [conn=3] [job="ID:202, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.876 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:202, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.795 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.879 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=202] [2024/05/06 10:41:04.880 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.880 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=336] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:04.884 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.884 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:04.892 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.892 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.893 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":17,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:04.893 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.896 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=336] [neededSchemaVersion=337] ["start time"=481.942Β΅s] [gotSchemaVersion=337] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.897 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=337] [2024/05/06 10:41:04.899 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=4.197538ms] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.900 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.906 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.906 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.907 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=337] [neededSchemaVersion=338] ["start time"=485.571Β΅s] [gotSchemaVersion=338] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.911 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=338] [2024/05/06 10:41:04.913 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=338] ["take time"=4.03836ms] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.914 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.918 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.918 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.919 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=338] [neededSchemaVersion=339] ["start time"=452.988Β΅s] [gotSchemaVersion=339] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=339] [2024/05/06 10:41:04.923 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=339] ["take time"=2.020141ms] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.928 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.928 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [category=ddl] [job="ID:203, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.929 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=339] [neededSchemaVersion=340] ["start time"=394.167Β΅s] [gotSchemaVersion=340] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:04.933 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=203] [version=340] [2024/05/06 10:41:04.936 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=4.721716ms] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.937 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.942 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=203] [conn=3] [job="ID:203, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.945 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=203] [2024/05/06 10:41:04.945 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:04.945 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:203, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.882 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.945 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=340] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:04.947 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:04.947 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:04.955 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.956 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.958 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=340] [neededSchemaVersion=341] ["start time"=464.384Β΅s] [gotSchemaVersion=341] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.960 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=341] [2024/05/06 10:41:04.965 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=7.126358ms] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.966 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.970 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.970 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.971 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.973 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=341] [neededSchemaVersion=342] ["start time"=491.991Β΅s] [gotSchemaVersion=342] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.975 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=342] [2024/05/06 10:41:04.978 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=5.746286ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.979 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.983 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.983 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.986 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=342] [neededSchemaVersion=343] ["start time"=403.005Β΅s] [gotSchemaVersion=343] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:04.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=343] [2024/05/06 10:41:04.990 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=343] ["take time"=4.633479ms] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [category=ddl] [job="ID:204, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:04.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=343] [neededSchemaVersion=344] ["start time"=439.91Β΅s] [gotSchemaVersion=344] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:05.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=204] [version=344] [2024/05/06 10:41:05.011 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=13.350647ms] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.012 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.018 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=204] [jobType="drop column"] [2024/05/06 10:41:05.018 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=204] [conn=3] [job="ID:204, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.023 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:204, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:04.946 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.025 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=204] [2024/05/06 10:41:05.025 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:05.025 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=344] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:05.028 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:05.028 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:05.037 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.037 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.038 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":18,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:05.039 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=344] [neededSchemaVersion=345] ["start time"=481.695Β΅s] [gotSchemaVersion=345] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.043 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=345] [2024/05/06 10:41:05.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=345] ["take time"=5.054417ms] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.053 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.053 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.055 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.058 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=345] [neededSchemaVersion=346] ["start time"=507.904Β΅s] [gotSchemaVersion=346] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.059 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=346] [2024/05/06 10:41:05.062 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=346] ["take time"=4.555341ms] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.063 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.070 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.070 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.076 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.079 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=346] [neededSchemaVersion=347] ["start time"=513.625Β΅s] [gotSchemaVersion=347] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.080 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=347] [2024/05/06 10:41:05.082 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=347] ["take time"=4.255511ms] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.084 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.090 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.090 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [category=ddl] [job="ID:205, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.091 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.094 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=347] [neededSchemaVersion=348] ["start time"=374.623Β΅s] [gotSchemaVersion=348] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.095 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=205] [version=348] [2024/05/06 10:41:05.098 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=5.016618ms] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.099 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.105 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=205] [conn=3] [job="ID:205, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.112 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:205, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.027 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.112 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=205] [2024/05/06 10:41:05.112 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:05.112 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=348] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:05.117 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:05.117 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:05.126 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.126 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.127 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":24,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:05.127 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:05.127 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.130 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=348] [neededSchemaVersion=349] ["start time"=412.328Β΅s] [gotSchemaVersion=349] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.131 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=349] [2024/05/06 10:41:05.134 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=4.62587ms] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.135 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.143 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.143 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.144 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.146 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=349] [neededSchemaVersion=350] ["start time"=424.674Β΅s] [gotSchemaVersion=350] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.148 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=350] [2024/05/06 10:41:05.150 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=4.526733ms] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.151 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.159 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.159 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.161 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.165 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=350] [neededSchemaVersion=351] ["start time"=636.711Β΅s] [gotSchemaVersion=351] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.167 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=351] [2024/05/06 10:41:05.170 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=6.450017ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.178 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.178 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.179 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:05.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.183 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.183 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.197 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.198 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.200 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:05.201 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:05.201 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:05.202 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:05.210 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:05.211 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.212 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.212 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.221 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.221 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.222 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.235 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:05.235 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.236 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.237 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.245 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.246 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.246 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.259 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:05.259 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.260 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.271 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.271 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.271 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.285 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:05.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.286 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.287 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.295 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.295 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.308 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:05.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.309 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.310 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.319 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.319 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.319 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.373 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=320] [2024/05/06 10:41:05.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.375 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.385 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:320, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.385 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.399 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 206"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=97.33399ms] [2024/05/06 10:41:05.400 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=206] [2024/05/06 10:41:05.400 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:24,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:05.439 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2016] [2024/05/06 10:41:05.439 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2016, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.440 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.440 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2016, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.447 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2016, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.447 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2016, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.447 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=206] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:05.449 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:05.485 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.488 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=351] [neededSchemaVersion=352] ["start time"=424.156Β΅s] [gotSchemaVersion=352] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.490 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=352] [2024/05/06 10:41:05.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=352] ["take time"=5.25274ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.494 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.500 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.500 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574879934021633, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.501 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=206] [table=t] [index=idx_c3] [2024/05/06 10:41:05.501 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.503 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=352] [neededSchemaVersion=353] ["start time"=511.15Β΅s] [gotSchemaVersion=353] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.505 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=353] [2024/05/06 10:41:05.507 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=4.079751ms] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.508 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.517 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.517 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.517 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=206] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000018ff] [2024/05/06 10:41:05.521 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.523 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.523 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.532 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.532 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.534 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:24,StartKey:74800000000000006f5f69ffff000000000018,EndKey:74800000000000006f5f69ffff000000000018ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:05.535 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000018] ["end key"=74800000000000006f5f69ffff000000000018ff] [2024/05/06 10:41:05.535 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000018ff] [2024/05/06 10:41:05.536 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000018ff] ["current end key"=74800000000000006f5f69ffff00000000001800] [2024/05/06 10:41:05.593 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:05.593 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.594 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.595 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.602 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.602 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.636 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000018, 74800000000000006f5f69ffff00000000001800), jobID: 206"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000180000] ["take time"=247.322Β΅s] [2024/05/06 10:41:05.636 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=206] [2024/05/06 10:41:05.636 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:24,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000018] [2024/05/06 10:41:05.664 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:05.664 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.665 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.665 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.674 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.674 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=206] [conn=3] [category=ddl] [job="ID:206, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.677 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:05.713 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:05.713 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.717 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=353] [neededSchemaVersion=354] ["start time"=510.548Β΅s] [gotSchemaVersion=354] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.719 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=206] [version=354] [2024/05/06 10:41:05.720 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=4.063728ms] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.721 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.738 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=206] [tableID=111] [indexIDs="[9223090561878065176]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:05.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=206] [jobType="add index"] [2024/05/06 10:41:05.740 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=206] [conn=3] [job="ID:206, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.742 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=206] [elementID=1] [startKey=74800000000000006f5f69ffff000000000018] [endKey=74800000000000006f5f69ffff000000000019] [2024/05/06 10:41:05.743 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:206, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880022888449, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.745 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=206] [2024/05/06 10:41:05.745 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:05.746 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=354] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:05.750 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:05.750 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:05.756 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.764 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [category=ddl] [job="ID:207, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.767 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:207, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.768 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574880085540866, conflictStartTS=449574880085803008, conflictCommitTS=449574880086065152, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:05.768 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574880085540866, conflictStartTS=449574880085803008, conflictCommitTS=449574880086065152, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:05.768 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574880085540866, conflictStartTS=449574880085803008, conflictCommitTS=449574880086065152, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=207}, originalKey=748000fffffffffffe5f7280000000000000cf, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:207, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.775 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:207, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.775 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [category=ddl] [job="ID:207, Type:drop column, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.775 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:05.775 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.776 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=207] [conn=3] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.783 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=207] [2024/05/06 10:41:05.783 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:05.783 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:207, Type:drop column, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.748 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.783 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=354] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropColumn\n\tpkg/ddl/ddl_api.go:5378\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3900\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:05.784 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=354] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:05.787 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:05.787 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:05.797 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.797 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.801 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.804 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=354] [neededSchemaVersion=356] ["start time"=474.544Β΅s] [gotSchemaVersion=356] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:05.805 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=356] [2024/05/06 10:41:05.811 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=356] ["take time"=7.985463ms] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.812 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.816 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.816 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.817 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.829 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=356] [neededSchemaVersion=357] ["start time"=520.063Β΅s] [gotSchemaVersion=357] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:05.831 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=357] [2024/05/06 10:41:05.832 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=4.334426ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.833 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.840 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.842 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.843 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=357] [neededSchemaVersion=358] ["start time"=305.802Β΅s] [gotSchemaVersion=358] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:05.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=358] [2024/05/06 10:41:05.846 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=358] ["take time"=2.721851ms] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.846 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.849 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.849 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [category=ddl] [job="ID:208, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.850 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=358] [neededSchemaVersion=359] ["start time"=458.82Β΅s] [gotSchemaVersion=359] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:05.854 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=208] [version=359] [2024/05/06 10:41:05.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=2.047251ms] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.855 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.859 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=208] [tableID=111] [indexIDs="[24]"] [comment="drop column: table ID"] [2024/05/06 10:41:05.862 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop column"] [2024/05/06 10:41:05.863 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=208] [conn=3] [job="ID:208, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.866 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:208, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.785 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.869 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=208] [2024/05/06 10:41:05.869 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:05.869 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=359] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:05.879 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:05.879 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:05.881 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=208] [elementID=1] [startKey=74800000000000006f5f698000000000000018] [endKey=74800000000000006f5f698000000000000019] [2024/05/06 10:41:05.886 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.886 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.887 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":19,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:05.887 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.889 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=359] [neededSchemaVersion=360] ["start time"=467.96Β΅s] [gotSchemaVersion=360] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.891 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=360] [2024/05/06 10:41:05.893 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=360] ["take time"=4.285713ms] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.894 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.901 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.901 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.904 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.906 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=360] [neededSchemaVersion=361] ["start time"=429.72Β΅s] [gotSchemaVersion=361] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.908 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=361] [2024/05/06 10:41:05.912 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=361] ["take time"=6.609647ms] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.914 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.919 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.920 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.923 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=361] [neededSchemaVersion=362] ["start time"=630.375Β΅s] [gotSchemaVersion=362] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.925 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=362] [2024/05/06 10:41:05.927 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=362] ["take time"=5.091361ms] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.928 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.935 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.935 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [category=ddl] [job="ID:209, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.936 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.938 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=362] [neededSchemaVersion=363] ["start time"=464.223Β΅s] [gotSchemaVersion=363] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:05.940 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=209] [version=363] [2024/05/06 10:41:05.942 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=4.519783ms] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.943 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.947 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=209] [conn=3] [job="ID:209, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.950 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:209, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:05.950 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=209] [2024/05/06 10:41:05.950 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:05.951 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=363] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:05.953 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:05.953 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:05.959 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.959 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.960 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":25,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:05.960 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:05.960 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=363] [neededSchemaVersion=364] ["start time"=461.695Β΅s] [gotSchemaVersion=364] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=364] [2024/05/06 10:41:05.969 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=7.281365ms] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.980 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.981 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.984 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=364] [neededSchemaVersion=365] ["start time"=453.754Β΅s] [gotSchemaVersion=365] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:05.985 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=365] [2024/05/06 10:41:05.988 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=365] ["take time"=4.747905ms] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.989 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.996 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.996 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.997 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:05.999 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=365] [neededSchemaVersion=366] ["start time"=479.075Β΅s] [gotSchemaVersion=366] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.001 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=366] [2024/05/06 10:41:06.004 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=366] ["take time"=4.937063ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.005 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.012 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.012 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.012 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.013 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.015 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.016 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.024 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.024 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.024 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.026 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:06.027 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.027 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.027 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.036 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.036 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.037 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.043 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.044 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.056 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.056 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.057 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.058 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.064 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.064 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.065 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.077 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.077 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.078 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.079 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.087 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.087 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.087 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.102 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.102 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.103 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.104 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.111 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.112 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.125 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.125 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.126 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.126 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.132 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.133 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.133 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.186 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=448] [2024/05/06 10:41:06.186 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.187 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.188 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.194 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.194 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:448, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.194 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=210] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.204 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 210"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=75.455085ms] [2024/05/06 10:41:06.204 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=210] [2024/05/06 10:41:06.205 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:25,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:06.205 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:06.242 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.244 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=366] [neededSchemaVersion=367] ["start time"=438.755Β΅s] [gotSchemaVersion=367] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.246 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=367] [2024/05/06 10:41:06.248 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=367] ["take time"=4.53729ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.249 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.256 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.256 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880152649728, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.257 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=210] [table=t] [index=idx_c3] [2024/05/06 10:41:06.257 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=367] [neededSchemaVersion=368] ["start time"=451.362Β΅s] [gotSchemaVersion=368] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=368] [2024/05/06 10:41:06.264 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=368] ["take time"=5.010761ms] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.265 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.274 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.274 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.275 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=210] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff000000000019ff] [2024/05/06 10:41:06.277 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.278 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.279 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.295 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.298 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:25,StartKey:74800000000000006f5f69ffff000000000019,EndKey:74800000000000006f5f69ffff000000000019ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:06.298 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000019] ["end key"=74800000000000006f5f69ffff000000000019ff] [2024/05/06 10:41:06.298 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff000000000019ff] [2024/05/06 10:41:06.299 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000019ff] ["current end key"=74800000000000006f5f69ffff00000000001900] [2024/05/06 10:41:06.349 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:06.349 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.350 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.351 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.357 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.357 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.399 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000019, 74800000000000006f5f69ffff00000000001900), jobID: 210"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000190000] ["take time"=207.98Β΅s] [2024/05/06 10:41:06.399 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=210] [2024/05/06 10:41:06.399 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:25,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000019] [2024/05/06 10:41:06.403 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:06.404 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.404 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.405 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.414 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.414 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=210] [conn=3] [category=ddl] [job="ID:210, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.417 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:06.450 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:06.450 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.453 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=368] [neededSchemaVersion=369] ["start time"=509.998Β΅s] [gotSchemaVersion=369] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.454 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=210] [version=369] [2024/05/06 10:41:06.457 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=369] ["take time"=4.967186ms] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.459 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.466 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=210] [tableID=111] [indexIDs="[9223090561878065177]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:06.467 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=210] [jobType="add index"] [2024/05/06 10:41:06.467 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=210] [conn=3] [job="ID:210, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.470 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=210] [elementID=1] [startKey=74800000000000006f5f69ffff000000000019] [endKey=74800000000000006f5f69ffff00000000001a] [2024/05/06 10:41:06.472 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:210, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:05.952 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880221593600, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.475 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=210] [2024/05/06 10:41:06.475 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:06.475 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=369] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:06.480 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:06.480 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:06.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.486 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.490 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.493 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=369] [neededSchemaVersion=370] ["start time"=659.452Β΅s] [gotSchemaVersion=370] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:06.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=370] [2024/05/06 10:41:06.496 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=370] ["take time"=4.155267ms] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.497 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.505 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.507 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.511 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=370] [neededSchemaVersion=371] ["start time"=499.561Β΅s] [gotSchemaVersion=371] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:06.513 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=371] [2024/05/06 10:41:06.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=371] ["take time"=4.97363ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.517 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.530 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.530 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.530 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.532 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=371] [neededSchemaVersion=372] ["start time"=425.875Β΅s] [gotSchemaVersion=372] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:06.534 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=372] [2024/05/06 10:41:06.537 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=5.530052ms] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.539 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.545 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.545 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [category=ddl] [job="ID:211, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.546 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.548 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=372] [neededSchemaVersion=373] ["start time"=422.339Β΅s] [gotSchemaVersion=373] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:06.550 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=211] [version=373] [2024/05/06 10:41:06.552 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=373] ["take time"=4.313501ms] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.553 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.560 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=211] [tableID=111] [indexIDs="[25]"] [comment="drop column: table ID"] [2024/05/06 10:41:06.570 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop column"] [2024/05/06 10:41:06.570 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=211] [conn=3] [job="ID:211, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.573 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:211, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.477 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.578 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=211] [2024/05/06 10:41:06.578 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:06.578 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=373] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:06.581 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:06.581 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:06.586 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=211] [elementID=1] [startKey=74800000000000006f5f698000000000000019] [endKey=74800000000000006f5f69800000000000001a] [2024/05/06 10:41:06.594 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.594 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.594 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":20,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:06.595 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.598 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=373] [neededSchemaVersion=374] ["start time"=447.058Β΅s] [gotSchemaVersion=374] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:06.599 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=374] [2024/05/06 10:41:06.600 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=374] ["take time"=2.434084ms] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.605 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.605 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.606 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.608 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=374] [neededSchemaVersion=375] ["start time"=310.044Β΅s] [gotSchemaVersion=375] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:06.609 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=375] [2024/05/06 10:41:06.609 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=2.16198ms] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.610 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.617 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.617 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.618 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.624 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=375] [neededSchemaVersion=376] ["start time"=449.325Β΅s] [gotSchemaVersion=376] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:06.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=376] [2024/05/06 10:41:06.627 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=4.35008ms] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.629 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.636 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.636 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [category=ddl] [job="ID:212, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.637 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.639 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=376] [neededSchemaVersion=377] ["start time"=458.724Β΅s] [gotSchemaVersion=377] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:06.641 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=212] [version=377] [2024/05/06 10:41:06.643 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=4.706707ms] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.644 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.647 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=212] [conn=3] [job="ID:212, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.650 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:212, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.58 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:06.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=212] [2024/05/06 10:41:06.651 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:06.651 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=377] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:06.654 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:06.654 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:06.660 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.660 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.660 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":26,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:06.660 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:06.661 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.663 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=377] [neededSchemaVersion=378] ["start time"=474.297Β΅s] [gotSchemaVersion=378] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.665 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=378] [2024/05/06 10:41:06.668 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=378] ["take time"=4.840887ms] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.669 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.675 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.676 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.678 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=378] [neededSchemaVersion=379] ["start time"=463.715Β΅s] [gotSchemaVersion=379] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.679 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=379] [2024/05/06 10:41:06.682 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=4.444363ms] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.683 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.690 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.691 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.694 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=379] [neededSchemaVersion=380] ["start time"=625.947Β΅s] [gotSchemaVersion=380] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=380] [2024/05/06 10:41:06.703 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=380] ["take time"=9.554277ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.704 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.711 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.712 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.712 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.715 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.716 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.717 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.724 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.724 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.726 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:06.727 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.727 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.727 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:06.736 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.737 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.738 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.744 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.744 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.756 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.756 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.757 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.758 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.765 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.765 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.765 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.777 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.777 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.778 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.778 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.784 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.784 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.785 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.797 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.797 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.798 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.798 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.805 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.806 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.806 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.822 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:06.822 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.823 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.831 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.838 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.838 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.887 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=224] [2024/05/06 10:41:06.887 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.888 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.889 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.897 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.897 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:224, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.897 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.934 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 213"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=104.072492ms] [2024/05/06 10:41:06.934 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=213] [2024/05/06 10:41:06.934 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:26,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:06.944 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1184] [2024/05/06 10:41:06.944 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1184, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.945 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:06.946 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1184, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.952 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1184, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1184, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.952 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=213] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:06.954 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:06.995 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:06.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=380] [neededSchemaVersion=381] ["start time"=428.458Β΅s] [gotSchemaVersion=381] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:06.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=381] [2024/05/06 10:41:07.001 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=4.267425ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.002 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.010 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.010 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880336150528, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.010 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=213] [table=t] [index=idx_c3] [2024/05/06 10:41:07.011 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=381] [neededSchemaVersion=382] ["start time"=489.881Β΅s] [gotSchemaVersion=382] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.015 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=382] [2024/05/06 10:41:07.017 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=382] ["take time"=4.804838ms] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.019 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.025 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.025 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.025 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=213] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001aff] [2024/05/06 10:41:07.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.029 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:07.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.037 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.037 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.039 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:26,StartKey:74800000000000006f5f69ffff00000000001a,EndKey:74800000000000006f5f69ffff00000000001aff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:07.040 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001a] ["end key"=74800000000000006f5f69ffff00000000001aff] [2024/05/06 10:41:07.040 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001aff] [2024/05/06 10:41:07.041 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001aff] ["current end key"=74800000000000006f5f69ffff00000000001a00] [2024/05/06 10:41:07.089 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:07.089 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.089 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:07.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.098 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.098 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.142 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001a, 74800000000000006f5f69ffff00000000001a00), jobID: 213"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001a0000] ["take time"=249.518Β΅s] [2024/05/06 10:41:07.142 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=213] [2024/05/06 10:41:07.142 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:26,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001a] [2024/05/06 10:41:07.145 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:07.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.146 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=213] [2024/05/06 10:41:07.146 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.152 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.152 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=213] [conn=3] [category=ddl] [job="ID:213, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.155 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:07.191 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:07.191 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=382] [neededSchemaVersion=383] ["start time"=528.181Β΅s] [gotSchemaVersion=383] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.195 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=213] [version=383] [2024/05/06 10:41:07.197 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=383] ["take time"=4.136376ms] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.205 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=213] [tableID=111] [indexIDs="[9223090561878065178]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:07.206 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="add index"] [2024/05/06 10:41:07.207 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=213] [conn=3] [job="ID:213, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.210 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=213] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001a] [endKey=74800000000000006f5f69ffff00000000001b] [2024/05/06 10:41:07.210 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:213, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:06.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880418201601, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.212 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=213] [2024/05/06 10:41:07.212 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:07.213 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=383] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:07.215 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:07.216 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:07.222 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.222 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.223 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.226 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=383] [neededSchemaVersion=384] ["start time"=459.957Β΅s] [gotSchemaVersion=384] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.227 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=384] [2024/05/06 10:41:07.231 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=5.931999ms] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.232 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.236 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.237 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.238 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.240 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=384] [neededSchemaVersion=385] ["start time"=420.865Β΅s] [gotSchemaVersion=385] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.241 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=385] [2024/05/06 10:41:07.244 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=4.619542ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.245 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.250 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.250 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.251 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.253 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=385] [neededSchemaVersion=386] ["start time"=447.539Β΅s] [gotSchemaVersion=386] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.254 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=386] [2024/05/06 10:41:07.257 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=386] ["take time"=4.412442ms] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.258 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.264 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.264 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [category=ddl] [job="ID:214, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.268 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.271 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=386] [neededSchemaVersion=387] ["start time"=435.273Β΅s] [gotSchemaVersion=387] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.272 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=214] [version=387] [2024/05/06 10:41:07.275 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=387] ["take time"=5.100685ms] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.276 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.280 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=214] [tableID=111] [indexIDs="[26]"] [comment="drop column: table ID"] [2024/05/06 10:41:07.281 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=214] [jobType="drop column"] [2024/05/06 10:41:07.282 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=214] [conn=3] [job="ID:214, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.284 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:214, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.287 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=214] [2024/05/06 10:41:07.287 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:07.288 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=387] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:07.292 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:07.292 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:07.299 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=214] [elementID=1] [startKey=74800000000000006f5f69800000000000001a] [endKey=74800000000000006f5f69800000000000001b] [2024/05/06 10:41:07.299 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.299 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.299 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":21,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:07.300 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.302 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=387] [neededSchemaVersion=388] ["start time"=430.862Β΅s] [gotSchemaVersion=388] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:07.303 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=388] [2024/05/06 10:41:07.304 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=2.53621ms] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.306 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.311 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.312 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=388] [neededSchemaVersion=389] ["start time"=442.485Β΅s] [gotSchemaVersion=389] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:07.317 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=389] [2024/05/06 10:41:07.318 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=389] ["take time"=4.209899ms] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.322 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.335 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.335 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.336 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.339 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=389] [neededSchemaVersion=390] ["start time"=471.515Β΅s] [gotSchemaVersion=390] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:07.340 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=390] [2024/05/06 10:41:07.343 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=390] ["take time"=4.793724ms] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.344 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.348 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.348 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [category=ddl] [job="ID:215, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.349 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.352 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=390] [neededSchemaVersion=391] ["start time"=456.581Β΅s] [gotSchemaVersion=391] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:07.354 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=215] [version=391] [2024/05/06 10:41:07.360 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=8.20629ms] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.361 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.368 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=215] [conn=3] [job="ID:215, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.371 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:215, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.29 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.371 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=215] [2024/05/06 10:41:07.371 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:07.372 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=391] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:07.375 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:07.375 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:07.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.382 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.382 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":27,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:07.382 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:07.383 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.385 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=391] [neededSchemaVersion=392] ["start time"=396.557Β΅s] [gotSchemaVersion=392] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=392] [2024/05/06 10:41:07.389 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=392] ["take time"=4.239652ms] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.390 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.397 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.400 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=392] [neededSchemaVersion=393] ["start time"=499.988Β΅s] [gotSchemaVersion=393] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=393] [2024/05/06 10:41:07.404 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=393] ["take time"=4.251006ms] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.405 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.412 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.413 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.415 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=393] [neededSchemaVersion=394] ["start time"=438.776Β΅s] [gotSchemaVersion=394] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.417 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=394] [2024/05/06 10:41:07.419 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=4.1991ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.420 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.425 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.425 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.425 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.426 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:07.428 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.429 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.429 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.436 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.436 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.436 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.438 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:07.439 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:07.439 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:07.439 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:07.448 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:07.448 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.448 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.449 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.455 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.455 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.455 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.468 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:07.468 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.469 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.469 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.475 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.475 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.475 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.487 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:07.487 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.488 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.489 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.495 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.495 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.495 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.508 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:07.508 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.508 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.509 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.518 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.519 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.532 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:07.532 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.533 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.534 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.540 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.540 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.541 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.603 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=512] [2024/05/06 10:41:07.604 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.605 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.616 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:512, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.616 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.632 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 216"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=92.494417ms] [2024/05/06 10:41:07.632 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=216] [2024/05/06 10:41:07.632 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:27,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:07.668 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1952] [2024/05/06 10:41:07.668 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1952, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.669 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.670 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1952, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.679 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1952, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.679 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1952, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.680 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=216] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:07.683 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:07.745 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.749 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=394] [neededSchemaVersion=395] ["start time"=535.813Β΅s] [gotSchemaVersion=395] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.751 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=395] [2024/05/06 10:41:07.753 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=395] ["take time"=4.382844ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.754 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.761 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.761 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880523059201, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.761 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=216] [table=t] [index=idx_c3] [2024/05/06 10:41:07.762 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.764 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=395] [neededSchemaVersion=396] ["start time"=496.707Β΅s] [gotSchemaVersion=396] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.766 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=396] [2024/05/06 10:41:07.768 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=396] ["take time"=4.551059ms] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.775 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.782 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.782 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.783 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=216] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001bff] [2024/05/06 10:41:07.785 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.786 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.787 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.795 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.795 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.797 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:27,StartKey:74800000000000006f5f69ffff00000000001b,EndKey:74800000000000006f5f69ffff00000000001bff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:07.798 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001b] ["end key"=74800000000000006f5f69ffff00000000001bff] [2024/05/06 10:41:07.798 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001bff] [2024/05/06 10:41:07.799 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001bff] ["current end key"=74800000000000006f5f69ffff00000000001b00] [2024/05/06 10:41:07.848 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:07.849 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.849 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.850 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.855 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.855 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.899 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001b, 74800000000000006f5f69ffff00000000001b00), jobID: 216"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001b0000] ["take time"=230.739Β΅s] [2024/05/06 10:41:07.899 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=216] [2024/05/06 10:41:07.899 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:27,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001b] [2024/05/06 10:41:07.906 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:07.906 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.907 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.908 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.915 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.915 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=216] [conn=3] [category=ddl] [job="ID:216, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.918 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:07.949 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:07.949 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=396] [neededSchemaVersion=397] ["start time"=367.147Β΅s] [gotSchemaVersion=397] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:07.953 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=216] [version=397] [2024/05/06 10:41:07.953 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=397] ["take time"=2.30706ms] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.954 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.960 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=216] [tableID=111] [indexIDs="[9223090561878065179]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:07.961 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="add index"] [2024/05/06 10:41:07.962 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=216] [conn=3] [job="ID:216, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.965 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=216] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001b] [endKey=74800000000000006f5f69ffff00000000001c] [2024/05/06 10:41:07.965 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:216, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:07.373 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880616906752, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:07.968 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=216] [2024/05/06 10:41:07.968 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:07.969 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=397] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:07.971 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:07.971 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:07.976 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.976 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.977 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.979 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=397] [neededSchemaVersion=398] ["start time"=461.936Β΅s] [gotSchemaVersion=398] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.981 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=398] [2024/05/06 10:41:07.983 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=398] ["take time"=4.341556ms] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.985 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.989 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.989 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.990 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:07.992 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=398] [neededSchemaVersion=399] ["start time"=480.78Β΅s] [gotSchemaVersion=399] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:07.994 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=399] [2024/05/06 10:41:08.002 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=399] ["take time"=10.668256ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.008 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.008 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.009 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.010 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=399] [neededSchemaVersion=400] ["start time"=340.305Β΅s] [gotSchemaVersion=400] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.011 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=400] [2024/05/06 10:41:08.012 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=400] ["take time"=2.024411ms] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.013 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.016 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.016 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [category=ddl] [job="ID:217, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.017 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=400] [neededSchemaVersion=401] ["start time"=409.1Β΅s] [gotSchemaVersion=401] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.021 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=217] [version=401] [2024/05/06 10:41:08.022 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=401] ["take time"=3.39559ms] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.023 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.027 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=217] [tableID=111] [indexIDs="[27]"] [comment="drop column: table ID"] [2024/05/06 10:41:08.040 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop column"] [2024/05/06 10:41:08.041 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=217] [conn=3] [job="ID:217, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.044 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:217, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:07.97 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.046 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=217] [2024/05/06 10:41:08.046 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:08.047 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=401] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:08.049 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:08.049 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:08.053 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=217] [elementID=1] [startKey=74800000000000006f5f69800000000000001b] [endKey=74800000000000006f5f69800000000000001c] [2024/05/06 10:41:08.055 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.055 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.056 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":22,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:08.056 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.058 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=401] [neededSchemaVersion=402] ["start time"=599.852Β΅s] [gotSchemaVersion=402] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.060 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=402] [2024/05/06 10:41:08.062 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=402] ["take time"=4.73767ms] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.064 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.068 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.068 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.069 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.071 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=402] [neededSchemaVersion=403] ["start time"=445.155Β΅s] [gotSchemaVersion=403] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.072 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=403] [2024/05/06 10:41:08.072 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=2.051785ms] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.073 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.090 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.094 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=403] [neededSchemaVersion=404] ["start time"=514.599Β΅s] [gotSchemaVersion=404] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.096 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=404] [2024/05/06 10:41:08.098 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=404] ["take time"=4.36644ms] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.099 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.103 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.103 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [category=ddl] [job="ID:218, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.103 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.106 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=404] [neededSchemaVersion=405] ["start time"=414.826Β΅s] [gotSchemaVersion=405] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.107 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=218] [version=405] [2024/05/06 10:41:08.107 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=405] ["take time"=2.019162ms] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.108 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.113 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=218] [conn=3] [job="ID:218, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:218, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.116 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=218] [2024/05/06 10:41:08.116 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:08.117 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=405] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:08.120 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:08.120 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:08.125 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.125 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.125 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":28,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:08.125 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:08.126 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.129 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=405] [neededSchemaVersion=406] ["start time"=474.6Β΅s] [gotSchemaVersion=406] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.130 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=406] [2024/05/06 10:41:08.130 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=406] ["take time"=2.018651ms] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.131 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.138 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.138 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.139 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.142 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=406] [neededSchemaVersion=407] ["start time"=473.155Β΅s] [gotSchemaVersion=407] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.144 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=407] [2024/05/06 10:41:08.144 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=2.202602ms] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.145 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.152 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.152 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.153 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.155 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=407] [neededSchemaVersion=408] ["start time"=484.343Β΅s] [gotSchemaVersion=408] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=408] [2024/05/06 10:41:08.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=408] ["take time"=4.307144ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.160 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.165 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.165 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.166 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.166 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.169 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.170 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.175 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.175 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.176 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.178 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:08.178 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.179 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.179 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.188 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.188 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.189 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.190 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.197 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.197 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.210 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.210 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.210 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.211 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.218 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.218 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.218 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.230 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.230 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.231 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.232 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.239 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.239 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.239 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.253 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.253 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.254 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.255 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.262 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.262 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.262 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.274 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.274 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.275 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.276 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.286 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.286 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.286 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.344 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=576] [2024/05/06 10:41:08.345 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.346 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.346 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.351 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 219"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=72.167604ms] [2024/05/06 10:41:08.351 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=219] [2024/05/06 10:41:08.351 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:28,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:08.352 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.352 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.353 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=219] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.355 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:08.391 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.394 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=408] [neededSchemaVersion=409] ["start time"=463.858Β΅s] [gotSchemaVersion=409] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.395 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=409] [2024/05/06 10:41:08.398 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=409] ["take time"=4.884811ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.399 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.406 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.406 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880717307904, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.406 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=219] [table=t] [index=idx_c3] [2024/05/06 10:41:08.407 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.409 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=409] [neededSchemaVersion=410] ["start time"=490.702Β΅s] [gotSchemaVersion=410] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.410 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=410] [2024/05/06 10:41:08.412 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=4.046303ms] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.413 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.420 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.420 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.420 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=219] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001cff] [2024/05/06 10:41:08.423 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.424 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.424 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.431 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.431 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.436 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:28,StartKey:74800000000000006f5f69ffff00000000001c,EndKey:74800000000000006f5f69ffff00000000001cff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:08.437 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001c] ["end key"=74800000000000006f5f69ffff00000000001cff] [2024/05/06 10:41:08.437 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001cff] [2024/05/06 10:41:08.437 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001cff] ["current end key"=74800000000000006f5f69ffff00000000001c00] [2024/05/06 10:41:08.484 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:08.484 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.485 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.485 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.492 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.492 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.537 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001c, 74800000000000006f5f69ffff00000000001c00), jobID: 219"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001c0000] ["take time"=207.376Β΅s] [2024/05/06 10:41:08.538 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=219] [2024/05/06 10:41:08.538 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:28,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001c] [2024/05/06 10:41:08.539 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:08.539 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.540 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.540 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.546 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.546 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=219] [conn=3] [category=ddl] [job="ID:219, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.548 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:08.593 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:08.593 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=410] [neededSchemaVersion=411] ["start time"=514.88Β΅s] [gotSchemaVersion=411] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.597 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=219] [version=411] [2024/05/06 10:41:08.599 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=411] ["take time"=4.156023ms] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.608 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=219] [tableID=111] [indexIDs="[9223090561878065180]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:08.609 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=219] [jobType="add index"] [2024/05/06 10:41:08.610 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=219] [conn=3] [job="ID:219, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.614 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:219, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.118 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880783892481, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.615 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=219] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001c] [endKey=74800000000000006f5f69ffff00000000001d] [2024/05/06 10:41:08.618 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=219] [2024/05/06 10:41:08.618 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:08.618 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=411] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:08.622 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:08.622 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:08.631 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.631 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.631 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.633 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=411] [neededSchemaVersion=412] ["start time"=394.925Β΅s] [gotSchemaVersion=412] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.635 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=412] [2024/05/06 10:41:08.635 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=412] ["take time"=2.63429ms] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.636 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.639 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.640 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.642 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=412] [neededSchemaVersion=413] ["start time"=437.952Β΅s] [gotSchemaVersion=413] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.643 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=413] [2024/05/06 10:41:08.644 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=413] ["take time"=3.074813ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.645 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.648 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.648 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.649 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.651 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=413] [neededSchemaVersion=414] ["start time"=403.433Β΅s] [gotSchemaVersion=414] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=414] [2024/05/06 10:41:08.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=2.168448ms] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.653 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.656 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.657 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [category=ddl] [job="ID:220, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.659 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.662 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=414] [neededSchemaVersion=415] ["start time"=476.353Β΅s] [gotSchemaVersion=415] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:08.663 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=220] [version=415] [2024/05/06 10:41:08.666 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=4.926624ms] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.667 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.671 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=220] [tableID=111] [indexIDs="[28]"] [comment="drop column: table ID"] [2024/05/06 10:41:08.672 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=220] [jobType="drop column"] [2024/05/06 10:41:08.673 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=220] [conn=3] [job="ID:220, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.676 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:220, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.62 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.679 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=220] [2024/05/06 10:41:08.679 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:08.679 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=415] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:08.683 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:08.683 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:08.689 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=220] [elementID=1] [startKey=74800000000000006f5f69800000000000001c] [endKey=74800000000000006f5f69800000000000001d] [2024/05/06 10:41:08.690 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.690 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":23,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:08.691 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=415] [neededSchemaVersion=416] ["start time"=478.258Β΅s] [gotSchemaVersion=416] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.695 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=416] [2024/05/06 10:41:08.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=416] ["take time"=4.768439ms] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.701 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.701 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.702 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.704 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=416] [neededSchemaVersion=417] ["start time"=478.007Β΅s] [gotSchemaVersion=417] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.706 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=417] [2024/05/06 10:41:08.708 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=417] ["take time"=4.441677ms] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.709 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.714 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.714 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.715 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.717 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=417] [neededSchemaVersion=418] ["start time"=500.38Β΅s] [gotSchemaVersion=418] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.719 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=418] [2024/05/06 10:41:08.721 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=418] ["take time"=4.982879ms] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.722 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.731 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.731 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [category=ddl] [job="ID:221, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.732 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.734 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=418] [neededSchemaVersion=419] ["start time"=416.537Β΅s] [gotSchemaVersion=419] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:08.735 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=221] [version=419] [2024/05/06 10:41:08.736 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=419] ["take time"=2.643219ms] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.737 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.743 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=221] [conn=3] [job="ID:221, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.746 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:221, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.681 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:08.746 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=221] [2024/05/06 10:41:08.746 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:08.746 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=419] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:08.749 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:08.749 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:08.756 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.756 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.756 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":29,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:08.756 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:08.757 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.759 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=419] [neededSchemaVersion=420] ["start time"=468.22Β΅s] [gotSchemaVersion=420] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.760 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=420] [2024/05/06 10:41:08.760 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=2.068779ms] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.775 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.775 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.776 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.778 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=420] [neededSchemaVersion=421] ["start time"=497.691Β΅s] [gotSchemaVersion=421] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.779 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=421] [2024/05/06 10:41:08.784 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=421] ["take time"=6.522787ms] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.785 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.791 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.791 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.795 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.798 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=421] [neededSchemaVersion=422] ["start time"=505.179Β΅s] [gotSchemaVersion=422] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:08.799 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=422] [2024/05/06 10:41:08.802 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=422] ["take time"=5.011651ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.803 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.810 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.811 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.811 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.812 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.814 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.814 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.815 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.821 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.821 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.821 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.823 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:08.824 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.824 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.824 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:08.833 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.833 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.834 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.835 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.845 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.846 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.859 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.859 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.859 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.860 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.867 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.867 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.867 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.881 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.881 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.881 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.882 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.890 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.890 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.891 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.903 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.903 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.904 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.904 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.911 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.911 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.911 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.923 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:08.923 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.924 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.934 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:08.990 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=480] [2024/05/06 10:41:08.990 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.991 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:08.991 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.998 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:08.998 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=222] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.005 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 222"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=80.830277ms] [2024/05/06 10:41:09.005 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=222] [2024/05/06 10:41:09.005 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:29,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:09.005 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:09.048 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.050 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=422] [neededSchemaVersion=423] ["start time"=529.913Β΅s] [gotSchemaVersion=423] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=423] [2024/05/06 10:41:09.054 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=423] ["take time"=4.216137ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.055 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880886390784, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.063 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=222] [table=t] [index=idx_c3] [2024/05/06 10:41:09.065 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.068 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=423] [neededSchemaVersion=424] ["start time"=493.933Β΅s] [gotSchemaVersion=424] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.070 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=424] [2024/05/06 10:41:09.070 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=424] ["take time"=2.468685ms] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.070 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.077 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.077 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.077 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=222] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001dff] [2024/05/06 10:41:09.080 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.081 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:09.081 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.095 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.095 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.097 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:29,StartKey:74800000000000006f5f69ffff00000000001d,EndKey:74800000000000006f5f69ffff00000000001dff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:09.098 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001d] ["end key"=74800000000000006f5f69ffff00000000001dff] [2024/05/06 10:41:09.098 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001dff] [2024/05/06 10:41:09.099 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001dff] ["current end key"=74800000000000006f5f69ffff00000000001d00] [2024/05/06 10:41:09.150 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:09.150 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.151 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:09.151 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.158 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.158 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.199 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001d, 74800000000000006f5f69ffff00000000001d00), jobID: 222"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001d0000] ["take time"=197.141Β΅s] [2024/05/06 10:41:09.199 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=222] [2024/05/06 10:41:09.199 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:29,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001d] [2024/05/06 10:41:09.207 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:09.207 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.207 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=222] [2024/05/06 10:41:09.208 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.215 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.215 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=222] [conn=3] [category=ddl] [job="ID:222, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.217 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:09.252 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:09.252 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.255 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=424] [neededSchemaVersion=425] ["start time"=470.314Β΅s] [gotSchemaVersion=425] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.257 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=222] [version=425] [2024/05/06 10:41:09.259 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=425] ["take time"=4.184177ms] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.260 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.267 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=222] [tableID=111] [indexIDs="[9223090561878065181]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:09.268 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="add index"] [2024/05/06 10:41:09.268 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=222] [conn=3] [job="ID:222, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.271 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=222] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001d] [endKey=74800000000000006f5f69ffff00000000001e] [2024/05/06 10:41:09.272 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:222, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:08.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574880956121089, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.273 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=222] [2024/05/06 10:41:09.273 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:09.274 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=425] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:09.276 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:09.276 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:09.284 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.284 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.287 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=425] [neededSchemaVersion=426] ["start time"=491.274Β΅s] [gotSchemaVersion=426] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.289 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=426] [2024/05/06 10:41:09.291 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=426] ["take time"=4.421563ms] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.292 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.295 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.296 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.298 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=426] [neededSchemaVersion=427] ["start time"=472.843Β΅s] [gotSchemaVersion=427] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.300 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=427] [2024/05/06 10:41:09.303 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=427] ["take time"=5.448967ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.305 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.309 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.310 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.312 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=427] [neededSchemaVersion=428] ["start time"=440.328Β΅s] [gotSchemaVersion=428] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=428] [2024/05/06 10:41:09.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=428] ["take time"=2.02688ms] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.320 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.320 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [category=ddl] [job="ID:223, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.320 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.323 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=428] [neededSchemaVersion=429] ["start time"=475.631Β΅s] [gotSchemaVersion=429] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.324 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=223] [version=429] [2024/05/06 10:41:09.325 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=429] ["take time"=2.590285ms] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.326 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.329 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=223] [tableID=111] [indexIDs="[29]"] [comment="drop column: table ID"] [2024/05/06 10:41:09.330 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop column"] [2024/05/06 10:41:09.331 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=223] [conn=3] [job="ID:223, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.333 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:223, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.275 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.351 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=223] [2024/05/06 10:41:09.352 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:09.352 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=429] [cur_db=test] [sql="alter table t add column c3 bigint"] [user=] [2024/05/06 10:41:09.359 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:09.359 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column c3 bigint"] [2024/05/06 10:41:09.370 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=223] [elementID=1] [startKey=74800000000000006f5f69800000000000001d] [endKey=74800000000000006f5f69800000000000001e] [2024/05/06 10:41:09.372 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.372 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.372 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":24,\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:09.373 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.375 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=429] [neededSchemaVersion=430] ["start time"=501.859Β΅s] [gotSchemaVersion=430] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:09.377 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=430] [2024/05/06 10:41:09.378 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=430] ["take time"=3.064771ms] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.379 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.385 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.385 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.386 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.388 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=430] [neededSchemaVersion=431] ["start time"=496.494Β΅s] [gotSchemaVersion=431] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:09.390 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=431] [2024/05/06 10:41:09.392 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=431] ["take time"=4.446014ms] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.393 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.398 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.398 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.399 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.401 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=431] [neededSchemaVersion=432] ["start time"=520.982Β΅s] [gotSchemaVersion=432] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:09.402 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=432] [2024/05/06 10:41:09.405 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=432] ["take time"=4.479729ms] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.406 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.411 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.411 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [category=ddl] [job="ID:224, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.412 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.414 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=432] [neededSchemaVersion=433] ["start time"=468.554Β΅s] [gotSchemaVersion=433] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:09.418 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=224] [version=433] [2024/05/06 10:41:09.420 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=433] ["take time"=6.422159ms] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.421 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.431 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=224] [conn=3] [job="ID:224, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.434 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:224, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.357 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.434 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=224] [2024/05/06 10:41:09.434 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:09.435 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=433] [cur_db=test] [sql="alter table t add index idx_c3(c3)"] [user=] [2024/05/06 10:41:09.437 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:09.437 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index idx_c3(c3)"] [2024/05/06 10:41:09.443 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.443 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.443 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":30,\"idx_name\":{\"O\":\"idx_c3\",\"L\":\"idx_c3\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c3\",\"L\":\"c3\"},\"offset\":4,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:09.443 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:09.444 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=433] [neededSchemaVersion=434] ["start time"=496.659Β΅s] [gotSchemaVersion=434] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.448 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=434] [2024/05/06 10:41:09.450 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=434] ["take time"=4.347325ms] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.451 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.458 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.458 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.458 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.460 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=434] [neededSchemaVersion=435] ["start time"=438.657Β΅s] [gotSchemaVersion=435] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.462 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=435] [2024/05/06 10:41:09.462 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=435] ["take time"=2.511787ms] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.463 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.474 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.476 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=435] [neededSchemaVersion=436] ["start time"=532.497Β΅s] [gotSchemaVersion=436] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.478 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=436] [2024/05/06 10:41:09.480 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=436] ["take time"=4.133345ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.481 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.487 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.487 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.487 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.488 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:09.493 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.494 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.495 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.501 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.502 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.504 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:09.505 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:09.505 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:09.505 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:09.514 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:09.514 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.515 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.516 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.521 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.521 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.521 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.533 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:09.533 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.534 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.535 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.541 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.541 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.541 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.558 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:09.558 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.559 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.560 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.568 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.568 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.568 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.582 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:09.583 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.583 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.584 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.590 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.591 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.603 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:09.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.604 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.605 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.612 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.612 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.613 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.666 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=480] [2024/05/06 10:41:09.666 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.667 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.668 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.675 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.675 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:480, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.675 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=225] [table=t] ["ingest mode"=false] [index=idx_c3] [2024/05/06 10:41:09.677 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 225"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=71.782524ms] [2024/05/06 10:41:09.677 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=225] [2024/05/06 10:41:09.678 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:30,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:09.678 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:09.712 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=436] [neededSchemaVersion=437] ["start time"=441.711Β΅s] [gotSchemaVersion=437] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=437] [2024/05/06 10:41:09.718 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=437] ["take time"=4.262284ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.719 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.724 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.725 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881063600129, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.725 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=225] [table=t] [index=idx_c3] [2024/05/06 10:41:09.725 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.728 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=437] [neededSchemaVersion=438] ["start time"=470.778Β΅s] [gotSchemaVersion=438] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.729 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=438] [2024/05/06 10:41:09.730 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=438] ["take time"=3.084116ms] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.731 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.744 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.744 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.745 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=225] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001eff] [2024/05/06 10:41:09.747 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.748 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.749 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.755 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.755 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.757 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:30,StartKey:74800000000000006f5f69ffff00000000001e,EndKey:74800000000000006f5f69ffff00000000001eff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:09.758 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001e] ["end key"=74800000000000006f5f69ffff00000000001eff] [2024/05/06 10:41:09.758 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001eff] [2024/05/06 10:41:09.759 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001eff] ["current end key"=74800000000000006f5f69ffff00000000001e00] [2024/05/06 10:41:09.809 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:09.809 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.810 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.811 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.817 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.817 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.860 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001e, 74800000000000006f5f69ffff00000000001e00), jobID: 225"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001e0000] ["take time"=217.78Β΅s] [2024/05/06 10:41:09.860 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=225] [2024/05/06 10:41:09.860 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:30,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001e] [2024/05/06 10:41:09.862 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:09.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.863 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.863 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.870 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=225] [conn=3] [category=ddl] [job="ID:225, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.872 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:09.906 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:09.906 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.909 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=438] [neededSchemaVersion=439] ["start time"=432.484Β΅s] [gotSchemaVersion=439] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:09.910 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=225] [version=439] [2024/05/06 10:41:09.911 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=439] ["take time"=2.795048ms] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.912 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.919 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=225] [tableID=111] [indexIDs="[9223090561878065182]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:09.920 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="add index"] [2024/05/06 10:41:09.920 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=225] [conn=3] [job="ID:225, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.923 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=225] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001e] [endKey=74800000000000006f5f69ffff00000000001f] [2024/05/06 10:41:09.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:225, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:09.436 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881131233280, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:09.926 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=225] [2024/05/06 10:41:09.926 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:09.927 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=439] [cur_db=test] [sql="alter table t drop column c3"] [user=] [2024/05/06 10:41:09.928 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:09.929 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop column c3"] [2024/05/06 10:41:09.935 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.935 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.935 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=439] [neededSchemaVersion=440] ["start time"=431.06Β΅s] [gotSchemaVersion=440] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=440] [2024/05/06 10:41:09.939 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=440] ["take time"=2.521174ms] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.940 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.943 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.943 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.944 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.946 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=440] [neededSchemaVersion=441] ["start time"=460.519Β΅s] [gotSchemaVersion=441] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.947 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=441] [2024/05/06 10:41:09.948 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=441] ["take time"=2.843999ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.949 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.952 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.953 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.954 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=441] [neededSchemaVersion=442] ["start time"=348.745Β΅s] [gotSchemaVersion=442] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.955 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=442] [2024/05/06 10:41:09.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=442] ["take time"=2.182193ms] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.957 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [category=ddl] [job="ID:226, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.961 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.963 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=442] [neededSchemaVersion=443] ["start time"=402.472Β΅s] [gotSchemaVersion=443] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:09.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=226] [version=443] [2024/05/06 10:41:09.967 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=443] ["take time"=4.231532ms] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.978 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=226] [tableID=111] [indexIDs="[30]"] [comment="drop column: table ID"] [2024/05/06 10:41:09.980 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=226] [jobType="drop column"] [2024/05/06 10:41:09.980 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=226] [conn=3] [job="ID:226, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.983 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:226, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:09.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.985 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=226] [2024/05/06 10:41:09.985 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:09.986 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=443] [cur_db=test] [sql="create table t_rebase (c1 bigint auto_increment primary key, c2 bigint);"] [user=] [2024/05/06 10:41:09.989 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:09.989 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rebase (c1 bigint auto_increment primary key, c2 bigint);"] [2024/05/06 10:41:09.995 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=226] [elementID=1] [startKey=74800000000000006f5f69800000000000001e] [endKey=74800000000000006f5f69800000000000001f] [2024/05/06 10:41:09.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=228] [conn=3] [category=ddl] [job="ID:228, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:09.999 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=443] [neededSchemaVersion=444] ["start time"=213.902Β΅s] [gotSchemaVersion=444] [phyTblIDs="[227]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:10.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=228] [version=444] [2024/05/06 10:41:10.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=444] ["take time"=2.122987ms] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.001 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:228, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.006 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=228] [conn=3] [job="ID:228, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.008 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:228, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:09.988 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.008 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=228] [2024/05/06 10:41:10.008 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.009 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=444] [cur_db=test] [sql="alter table t_rebase auto_increment = 6000"] [user=] [2024/05/06 10:41:10.011 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.011 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 6000"] [2024/05/06 10:41:10.018 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.020 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.022 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.024 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881202798594, conflictStartTS=449574881203060736, conflictCommitTS=449574881203322880, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.024 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881202798594, conflictStartTS=449574881203060736, conflictCommitTS=449574881203322880, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.024 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881202798594, conflictStartTS=449574881203060736, conflictCommitTS=449574881203322880, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=229}, originalKey=748000fffffffffffe5f7280000000000000e5, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:229, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.028 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.028 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.028 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.029 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=229] [conn=3] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.031 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=229] [2024/05/06 10:41:10.031 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:229, Type:rebase auto_increment ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.01 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.031 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.031 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=444] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RebaseAutoID\n\tpkg/ddl/ddl_api.go:4155\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3984\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.032 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=444] [cur_db=test] [sql="alter table t_rebase auto_increment = 9000"] [user=] [2024/05/06 10:41:10.034 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.034 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_rebase auto_increment = 9000"] [2024/05/06 10:41:10.042 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.042 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=230] [conn=3] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:queueing, SchemaState:none, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.043 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.045 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=444] [neededSchemaVersion=446] ["start time"=283.239Β΅s] [gotSchemaVersion=446] [phyTblIDs="[227]"] [actionTypes="[13]"] [diffTypes="[\"rebase auto_increment ID\"]"] [2024/05/06 10:41:10.046 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=230] [version=446] [2024/05/06 10:41:10.047 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=446] ["take time"=2.112421ms] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.047 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:done, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.053 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=230] [conn=3] [job="ID:230, Type:rebase auto_increment ID, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.055 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:230, Type:rebase auto_increment ID, State:synced, SchemaState:public, SchemaID:2, TableID:227, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.033 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.055 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=230] [2024/05/06 10:41:10.055 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.056 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=446] [cur_db=test] [sql="create table t_auto (c1 int not null auto_increment unique) shard_row_id_bits = 0"] [user=] [2024/05/06 10:41:10.058 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.058 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_auto (c1 int not null auto_increment unique) shard_row_id_bits = 0"] [2024/05/06 10:41:10.071 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.071 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=232] [conn=3] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.075 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.078 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=446] [neededSchemaVersion=447] ["start time"=233.277Β΅s] [gotSchemaVersion=447] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:10.079 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=232] [version=447] [2024/05/06 10:41:10.080 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=447] ["take time"=2.950271ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.081 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.086 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=232] [conn=3] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.089 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.057 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.090 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=232] [2024/05/06 10:41:10.090 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.090 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=447] [cur_db=test] [sql="alter table t_auto shard_row_id_bits = 5"] [user=] [2024/05/06 10:41:10.093 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.093 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 5"] [2024/05/06 10:41:10.101 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.103 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [category=ddl] [job="ID:233, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.103 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:233, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.105 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881224556544, conflictStartTS=449574881224556545, conflictCommitTS=449574881224818689, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.105 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881224556544, conflictStartTS=449574881224556545, conflictCommitTS=449574881224818689, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.105 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881224556544, conflictStartTS=449574881224556545, conflictCommitTS=449574881224818689, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=233}, originalKey=748000fffffffffffe5f7280000000000000e9, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:233, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.118 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.118 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelling, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.118 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.118 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.118 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=233] [conn=3] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.120 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=233] [2024/05/06 10:41:10.120 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:233, Type:shard row ID, State:cancelled, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.091 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.120 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.121 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=447] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ShardRowID\n\tpkg/ddl/ddl_api.go:4209\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3982\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.121 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=447] [cur_db=test] [sql="alter table t_auto shard_row_id_bits = 8"] [user=] [2024/05/06 10:41:10.123 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.123 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_auto shard_row_id_bits = 8"] [2024/05/06 10:41:10.128 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.128 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=234] [conn=3] [category=ddl] [job="ID:234, Type:shard row ID, State:queueing, SchemaState:none, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.129 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.131 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=447] [neededSchemaVersion=449] ["start time"=281.499Β΅s] [gotSchemaVersion=449] [phyTblIDs="[231]"] [actionTypes="[16]"] [diffTypes="[\"shard row ID\"]"] [2024/05/06 10:41:10.132 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=234] [version=449] [2024/05/06 10:41:10.132 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=449] ["take time"=2.08692ms] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.133 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:234, Type:shard row ID, State:done, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.140 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=234] [conn=3] [job="ID:234, Type:shard row ID, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.146 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:234, Type:shard row ID, State:synced, SchemaState:public, SchemaID:2, TableID:231, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.122 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.148 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=234] [2024/05/06 10:41:10.148 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.149 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=449] [cur_db=test] [sql="alter table t modify column c11 mediumint"] [user=] [2024/05/06 10:41:10.151 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.152 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 mediumint"] [2024/05/06 10:41:10.157 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.162 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [category=ddl] [job="ID:235, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.164 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:235, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.166 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881239236608, conflictStartTS=449574881239236609, conflictCommitTS=449574881239498753, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.166 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881239236608, conflictStartTS=449574881239236609, conflictCommitTS=449574881239498753, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.166 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881239236608, conflictStartTS=449574881239236609, conflictCommitTS=449574881239498753, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=235}, originalKey=748000fffffffffffe5f7280000000000000eb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:235, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.170 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:235, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.170 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [category=ddl] [job="ID:235, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.170 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.170 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.171 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=235] [conn=3] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.174 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=235] [2024/05/06 10:41:10.174 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.174 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=449] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.174 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:235, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.15 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.174 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=449] [cur_db=test] [sql="alter table t modify column c11 int"] [user=] [2024/05/06 10:41:10.179 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.179 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 int"] [2024/05/06 10:41:10.183 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.183 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=236] [conn=3] [category=ddl] [job="ID:236, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.189 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.192 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=449] [neededSchemaVersion=451] ["start time"=492.853Β΅s] [gotSchemaVersion=451] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.194 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=236] [version=451] [2024/05/06 10:41:10.196 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=451] ["take time"=4.750108ms] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:236, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.203 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=236] [jobType="modify column"] [2024/05/06 10:41:10.203 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=236] [conn=3] [job="ID:236, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.206 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:236, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.176 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.208 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=236] [2024/05/06 10:41:10.208 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.209 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=451] [cur_db=test] [sql="alter table t add column mayNullCol bigint default 1"] [user=] [2024/05/06 10:41:10.212 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:10.212 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add column mayNullCol bigint default 1"] [2024/05/06 10:41:10.217 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.217 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.217 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [columnInfo="{\"id\":25,\"name\":{\"O\":\"mayNullCol\",\"L\":\"maynullcol\"},\"offset\":4,\"origin_default\":\"1\",\"origin_default_bit\":null,\"default\":\"1\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:10.218 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.220 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=451] [neededSchemaVersion=452] ["start time"=454.444Β΅s] [gotSchemaVersion=452] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:10.221 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=452] [2024/05/06 10:41:10.221 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=452] ["take time"=2.096039ms] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.222 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.228 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.228 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.229 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=452] [neededSchemaVersion=453] ["start time"=503.567Β΅s] [gotSchemaVersion=453] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:10.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=453] [2024/05/06 10:41:10.234 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=453] ["take time"=4.412796ms] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.235 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.239 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.239 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.240 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.241 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=453] [neededSchemaVersion=454] ["start time"=331.205Β΅s] [gotSchemaVersion=454] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:10.243 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=454] [2024/05/06 10:41:10.243 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=454] ["take time"=2.064736ms] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.244 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.247 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.247 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [category=ddl] [job="ID:237, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.248 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.250 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=454] [neededSchemaVersion=455] ["start time"=458.528Β΅s] [gotSchemaVersion=455] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:10.252 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=237] [version=455] [2024/05/06 10:41:10.254 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=455] ["take time"=4.417145ms] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.255 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.261 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=237] [conn=3] [job="ID:237, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.264 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:237, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:10.264 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=237] [2024/05/06 10:41:10.264 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.265 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=455] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 10:41:10.275 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.275 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 10:41:10.287 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.290 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.297 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.298 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881273315328, conflictStartTS=449574881273577472, conflictCommitTS=449574881273839617, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.299 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881273315328, conflictStartTS=449574881273577472, conflictCommitTS=449574881273839617, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.299 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881273315328, conflictStartTS=449574881273577472, conflictCommitTS=449574881273839617, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=238}, originalKey=748000fffffffffffe5f7280000000000000ee, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:238, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.302 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.303 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.303 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.303 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.304 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238] [2024/05/06 10:41:10.305 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.309 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.309 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [category=ddl] [job="ID:238, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.310 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.313 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=455] [neededSchemaVersion=457] ["start time"=511.488Β΅s] [gotSchemaVersion=457] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.314 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=238] [version=457] [2024/05/06 10:41:10.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=457] ["take time"=2.01137ms] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.319 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=238] [jobType="modify column"] [2024/05/06 10:41:10.320 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=238] [conn=3] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.322 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=238] [2024/05/06 10:41:10.323 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:238, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.272 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.324 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=238] [2024/05/06 10:41:10.325 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.325 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=455] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.325 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=457] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 10:41:10.334 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.334 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 10:41:10.340 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.346 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.348 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=457] [neededSchemaVersion=458] ["start time"=385.943Β΅s] [gotSchemaVersion=458] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.349 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=458] [2024/05/06 10:41:10.352 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=458] ["take time"=4.51946ms] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.353 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.361 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.362 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.362 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.365 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239] [2024/05/06 10:41:10.365 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.373 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.373 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [category=ddl] [job="ID:239, Type:modify column, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.379 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.381 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=458] [neededSchemaVersion=459] ["start time"=402.44Β΅s] [gotSchemaVersion=459] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.383 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=239] [version=459] [2024/05/06 10:41:10.383 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=459] ["take time"=2.528005ms] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.384 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.389 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=239] [jobType="modify column"] [2024/05/06 10:41:10.389 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=239] [conn=3] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.393 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=239] [2024/05/06 10:41:10.394 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:239, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.332 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.397 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=239] [2024/05/06 10:41:10.397 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.397 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=457] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.398 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=459] [cur_db=test] [sql="alter table t modify column mayNullCol bigint default 1 not null"] [user=] [2024/05/06 10:41:10.406 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.406 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column mayNullCol bigint default 1 not null"] [2024/05/06 10:41:10.413 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.413 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [category=ddl] [job="ID:240, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.419 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.422 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=459] [neededSchemaVersion=460] ["start time"=471.568Β΅s] [gotSchemaVersion=460] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.423 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=460] [2024/05/06 10:41:10.423 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=460] ["take time"=2.13249ms] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.424 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.427 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.428 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [category=ddl] [job="ID:240, Type:modify column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.433 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.436 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=460] [neededSchemaVersion=461] ["start time"=516.626Β΅s] [gotSchemaVersion=461] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=240] [version=461] [2024/05/06 10:41:10.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=461] ["take time"=4.655553ms] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.441 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.446 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="modify column"] [2024/05/06 10:41:10.446 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=240] [conn=3] [job="ID:240, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.449 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:240, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.451 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=240] [2024/05/06 10:41:10.452 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:10.452 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=461] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.455 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.455 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.463 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.466 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=241] [conn=3] [category=ddl] [job="ID:241, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.467 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:241, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.469 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881319452674, conflictStartTS=449574881319714816, conflictCommitTS=449574881319976960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.469 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881319452674, conflictStartTS=449574881319714816, conflictCommitTS=449574881319976960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.469 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881319452674, conflictStartTS=449574881319714816, conflictCommitTS=449574881319976960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=241}, originalKey=748000fffffffffffe5f7280000000000000f1, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:241, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.479 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:241, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.479 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=241] [conn=3] [category=ddl] [job="ID:241, Type:modify column, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.480 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=241] [conn=3] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.480 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.480 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=241] [conn=3] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.485 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:241, Type:modify column, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.454 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.485 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=241] [2024/05/06 10:41:10.486 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.486 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=461] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.486 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=461] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.489 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.490 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.502 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.503 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.507 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=461] [neededSchemaVersion=463] ["start time"=501.264Β΅s] [gotSchemaVersion=463] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.508 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=463] [2024/05/06 10:41:10.508 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=463] ["take time"=2.056515ms] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.509 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.517 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.519 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.520 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.522 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881333608448, conflictStartTS=449574881333608449, conflictCommitTS=449574881334132736, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.522 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881333608448, conflictStartTS=449574881333608449, conflictCommitTS=449574881334132736, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.522 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 7, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881333608448, conflictStartTS=449574881333608449, conflictCommitTS=449574881334132736, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=242}, originalKey=748000fffffffffffe5f7280000000000000f2, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:242, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.527 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.527 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.528 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=242] [conn=3] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.528 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.529 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242] [2024/05/06 10:41:10.529 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.534 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.534 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=242] [conn=3] [category=ddl] [job="ID:242, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.534 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.537 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=463] [neededSchemaVersion=465] ["start time"=472.947Β΅s] [gotSchemaVersion=465] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.538 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=242] [version=465] [2024/05/06 10:41:10.541 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=465] ["take time"=4.544456ms] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.543 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.549 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=242] [jobType="modify column"] [2024/05/06 10:41:10.549 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=242] [conn=3] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.552 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=242] [2024/05/06 10:41:10.553 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:242, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.488 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.554 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=242] [2024/05/06 10:41:10.554 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.555 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=461] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.555 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=465] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.564 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.564 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.575 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.575 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.576 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.578 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=465] [neededSchemaVersion=466] ["start time"=413.627Β΅s] [gotSchemaVersion=466] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.580 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=466] [2024/05/06 10:41:10.580 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=466] ["take time"=2.513216ms] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.581 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.590 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.590 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.590 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=243] [conn=3] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.590 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.591 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243] [2024/05/06 10:41:10.592 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.600 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.600 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=243] [conn=3] [category=ddl] [job="ID:243, Type:modify column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.606 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=466] [neededSchemaVersion=467] ["start time"=463.11Β΅s] [gotSchemaVersion=467] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=243] [version=467] [2024/05/06 10:41:10.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=467] ["take time"=4.966176ms] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.619 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="modify column"] [2024/05/06 10:41:10.619 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=243] [conn=3] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.621 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=243] [2024/05/06 10:41:10.622 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:243, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.556 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.624 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=243] [2024/05/06 10:41:10.625 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.625 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=465] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.625 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=467] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.628 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.628 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.637 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.637 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.638 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.640 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=467] [neededSchemaVersion=468] ["start time"=471.191Β΅s] [gotSchemaVersion=468] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.642 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=468] [2024/05/06 10:41:10.642 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=468] ["take time"=2.323031ms] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.643 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.650 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.650 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.651 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.654 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=468] [neededSchemaVersion=469] ["start time"=519.137Β΅s] [gotSchemaVersion=469] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.655 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=469] [2024/05/06 10:41:10.658 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=469] ["take time"=4.648678ms] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.659 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.666 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.672 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.672 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.674 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881372667904, conflictStartTS=449574881372667905, conflictCommitTS=449574881373192192, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.674 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881372667904, conflictStartTS=449574881372667905, conflictCommitTS=449574881373192192, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.674 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 10, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881372667904, conflictStartTS=449574881372667905, conflictCommitTS=449574881373192192, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=244}, originalKey=748000fffffffffffe5f7280000000000000f4, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:244, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.682 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.683 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.683 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 9, tp add index"] [category=ddl] [jobID=244] [conn=3] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.683 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.686 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244] [2024/05/06 10:41:10.686 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.693 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.693 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=244] [conn=3] [category=ddl] [job="ID:244, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.694 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.697 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=469] [neededSchemaVersion=471] ["start time"=481.681Β΅s] [gotSchemaVersion=471] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=244] [version=471] [2024/05/06 10:41:10.700 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=471] ["take time"=4.327991ms] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.701 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.708 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="modify column"] [2024/05/06 10:41:10.708 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=244] [conn=3] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.712 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=244] [2024/05/06 10:41:10.712 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:244, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.627 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.714 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=244] [2024/05/06 10:41:10.715 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.715 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=467] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.715 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=471] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.718 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.718 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.727 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.727 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.728 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.730 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=471] [neededSchemaVersion=472] ["start time"=486.263Β΅s] [gotSchemaVersion=472] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.732 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=472] [2024/05/06 10:41:10.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=472] ["take time"=3.054383ms] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.734 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.739 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.740 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.742 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=472] [neededSchemaVersion=473] ["start time"=475.385Β΅s] [gotSchemaVersion=473] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=473] [2024/05/06 10:41:10.745 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=473] ["take time"=4.130282ms] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.746 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.753 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.753 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.754 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 7, tp add index"] [category=ddl] [jobID=245] [conn=3] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.754 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.755 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245] [2024/05/06 10:41:10.755 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=245] [conn=3] [category=ddl] [job="ID:245, Type:modify column, State:rollingback, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.767 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.770 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=473] [neededSchemaVersion=474] ["start time"=464.182Β΅s] [gotSchemaVersion=474] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=245] [version=474] [2024/05/06 10:41:10.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=474] ["take time"=2.015072ms] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.782 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=245] [jobType="modify column"] [2024/05/06 10:41:10.783 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=245] [conn=3] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.785 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=245] [2024/05/06 10:41:10.786 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:245, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.716 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.788 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=245] [2024/05/06 10:41:10.788 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.788 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=471] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.788 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=474] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.791 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.791 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.802 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.802 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.803 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.805 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=474] [neededSchemaVersion=475] ["start time"=462.142Β΅s] [gotSchemaVersion=475] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.806 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=475] [2024/05/06 10:41:10.809 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=475] ["take time"=4.254434ms] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.809 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.815 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.815 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.816 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=475] [neededSchemaVersion=476] ["start time"=491.48Β΅s] [gotSchemaVersion=476] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=476] [2024/05/06 10:41:10.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=476] ["take time"=4.327237ms] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.823 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.829 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.830 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.832 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=476] [neededSchemaVersion=477] ["start time"=506.391Β΅s] [gotSchemaVersion=477] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=477] [2024/05/06 10:41:10.836 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=477] ["take time"=5.042251ms] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.837 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.843 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.845 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.846 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=246] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:10.848 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881419853824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.849 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881419067392, conflictStartTS=449574881419067393, conflictCommitTS=449574881419591680, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:10.849 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881419067392, conflictStartTS=449574881419067393, conflictCommitTS=449574881419591680, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:10.849 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 9, tp add index"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881419067392, conflictStartTS=449574881419067393, conflictCommitTS=449574881419591680, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=246}, originalKey=748000fffffffffffe5f7280000000000000f6, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:246, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881419853824, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.854 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.854 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.854 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 8, tp add index"] [category=ddl] [jobID=246] [conn=3] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.854 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.855 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246] [2024/05/06 10:41:10.856 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.861 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.861 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=246] [conn=3] [category=ddl] [job="ID:246, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.865 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=477] [neededSchemaVersion=478] ["start time"=433.523Β΅s] [gotSchemaVersion=478] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.866 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=246] [version=478] [2024/05/06 10:41:10.868 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=478] ["take time"=4.139191ms] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.877 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.888 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=246] [jobType="modify column"] [2024/05/06 10:41:10.889 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=246] [conn=3] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.895 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=246] [2024/05/06 10:41:10.896 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:246, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.79 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.899 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=246] [2024/05/06 10:41:10.899 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.899 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=474] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.900 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=478] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.903 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.903 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.907 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.907 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.908 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.910 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=478] [neededSchemaVersion=479] ["start time"=505.679Β΅s] [gotSchemaVersion=479] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.912 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=479] [2024/05/06 10:41:10.912 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=479] ["take time"=2.056758ms] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.912 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.918 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.919 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.919 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.921 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=479] [neededSchemaVersion=480] ["start time"=346.031Β΅s] [gotSchemaVersion=480] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.922 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=480] [2024/05/06 10:41:10.923 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=480] ["take time"=2.488133ms] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.934 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=480] [neededSchemaVersion=481] ["start time"=412.772Β΅s] [gotSchemaVersion=481] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.938 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=481] [2024/05/06 10:41:10.938 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=481] ["take time"=2.507661ms] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.939 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.946 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.947 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.947 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 10, tp add index"] [category=ddl] [jobID=247] [conn=3] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:10.947 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.952 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247] [2024/05/06 10:41:10.953 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.959 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.959 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=247] [conn=3] [category=ddl] [job="ID:247, Type:modify column, State:rollingback, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.960 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.962 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=481] [neededSchemaVersion=482] ["start time"=486.201Β΅s] [gotSchemaVersion=482] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.964 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=247] [version=482] [2024/05/06 10:41:10.966 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=482] ["take time"=4.779097ms] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.967 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.975 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="modify column"] [2024/05/06 10:41:10.975 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=247] [conn=3] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.978 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=247] [2024/05/06 10:41:10.978 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:247, Type:modify column, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:10.901 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.980 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=247] [2024/05/06 10:41:10.980 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:10.981 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=478] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifyColumn\n\tpkg/ddl/ddl_api.go:6315\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3961\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:10.981 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=482] [cur_db=test] [sql="alter table t modify column c11 char(10)"] [user=] [2024/05/06 10:41:10.990 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:10.990 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t modify column c11 char(10)"] [2024/05/06 10:41:10.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:10.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=482] [neededSchemaVersion=483] ["start time"=329.314Β΅s] [gotSchemaVersion=483] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:10.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=483] [2024/05/06 10:41:11.000 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=483] ["take time"=2.480974ms] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.001 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.009 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.010 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.012 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=483] [neededSchemaVersion=484] ["start time"=507.041Β΅s] [gotSchemaVersion=484] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:11.014 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=484] [2024/05/06 10:41:11.016 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=484] ["take time"=4.151261ms] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.024 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.024 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.025 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.027 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=484] [neededSchemaVersion=485] ["start time"=518.086Β΅s] [gotSchemaVersion=485] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:11.029 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=485] [2024/05/06 10:41:11.031 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=485] ["take time"=4.223324ms] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.032 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.038 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.040 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=248] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:11.042 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.043 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.043 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.048 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.050 +00:00] [INFO] [column.go:1076] ["start to update table row"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:11.051 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:11.051 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:11.051 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:11.061 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:11.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.062 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.062 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.069 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.083 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:11.084 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.084 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.085 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.090 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.090 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.103 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:11.103 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.104 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.105 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.112 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.112 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.125 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:11.125 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.125 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.126 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.133 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.133 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.149 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:11.149 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.150 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.157 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.157 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.208 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 248"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f7280000000000008010000] ["take time"=56.77273ms] [2024/05/06 10:41:11.208 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=248] [2024/05/06 10:41:11.208 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_col_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:11.213 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=672] [2024/05/06 10:41:11.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.215 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.215 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:8, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.224 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.224 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=248] [conn=3] [category=ddl] [job="ID:248, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:672, ArgLen:0, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.226 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:11.257 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.260 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=485] [neededSchemaVersion=486] ["start time"=490.266Β΅s] [gotSchemaVersion=486] [phyTblIDs="[111]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2024/05/06 10:41:11.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=248] [version=486] [2024/05/06 10:41:11.265 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=486] ["take time"=5.702296ms] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.266 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.276 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=248] [jobType="modify column"] [2024/05/06 10:41:11.277 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=248] [conn=3] [job="ID:248, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.283 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:248, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:2, start time: 2024-05-06 10:41:10.982 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574881470447616, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:11.285 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=248] [2024/05/06 10:41:11.285 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.286 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=486] [cur_db=test] [sql="create table t_ref (c1 int key, c2 int, c3 int, c11 tinyint);"] [user=] [2024/05/06 10:41:11.289 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.289 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_ref (c1 int key, c2 int, c3 int, c11 tinyint);"] [2024/05/06 10:41:11.295 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.295 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=250] [conn=3] [category=ddl] [job="ID:250, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.296 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.298 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=486] [neededSchemaVersion=487] ["start time"=219.891Β΅s] [gotSchemaVersion=487] [phyTblIDs="[249]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:11.299 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=250] [version=487] [2024/05/06 10:41:11.300 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=487] ["take time"=2.22256ms] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.301 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:250, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.305 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=250] [conn=3] [job="ID:250, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.308 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:250, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:249, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.287 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.311 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=250] [2024/05/06 10:41:11.311 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.311 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=487] [cur_db=test] [sql="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [user=] [2024/05/06 10:41:11.315 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.315 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [2024/05/06 10:41:11.324 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.326 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [category=ddl] [job="ID:251, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.327 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:251, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.328 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881545158657, conflictStartTS=449574881545158658, conflictCommitTS=449574881545682944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.328 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881545158657, conflictStartTS=449574881545158658, conflictCommitTS=449574881545682944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.328 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881545158657, conflictStartTS=449574881545158658, conflictCommitTS=449574881545682944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=251}, originalKey=748000fffffffffffe5f7280000000000000fb, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:251, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.333 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.333 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.333 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.333 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.334 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=251] [conn=3] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.349 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=251] [2024/05/06 10:41:11.349 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.349 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:251, Type:add foreign key, State:cancelled, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.314 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.349 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=487] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).CreateForeignKey\n\tpkg/ddl/ddl_api.go:7926\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3943\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.397 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=487] [cur_db=test] [sql="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [user=] [2024/05/06 10:41:11.403 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.403 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t add constraint fk foreign key a(c1) references t_ref(c1)"] [2024/05/06 10:41:11.410 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.410 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.411 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.414 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=487] [neededSchemaVersion=489] ["start time"=583.739Β΅s] [gotSchemaVersion=489] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 10:41:11.415 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=489] [2024/05/06 10:41:11.419 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=489] ["take time"=5.789628ms] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.420 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.425 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.425 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.447 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.449 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=489] [neededSchemaVersion=490] ["start time"=539.503Β΅s] [gotSchemaVersion=490] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 10:41:11.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=490] [2024/05/06 10:41:11.454 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=490] ["take time"=4.909759ms] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.454 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.458 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.458 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [category=ddl] [job="ID:252, Type:add foreign key, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.459 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.462 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=490] [neededSchemaVersion=491] ["start time"=485.595Β΅s] [gotSchemaVersion=491] [phyTblIDs="[111]"] [actionTypes="[9]"] [diffTypes="[\"add foreign key\"]"] [2024/05/06 10:41:11.463 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=252] [version=491] [2024/05/06 10:41:11.465 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=491] ["take time"=4.024224ms] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.473 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=252] [conn=3] [job="ID:252, Type:add foreign key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.478 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:252, Type:add foreign key, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.479 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=252] [2024/05/06 10:41:11.479 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.479 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=491] [cur_db=test] [sql="alter table t drop foreign key fk"] [user=] [2024/05/06 10:41:11.482 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.482 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"] [2024/05/06 10:41:11.495 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.497 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [category=ddl] [job="ID:253, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.498 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:253, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.499 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881589985280, conflictStartTS=449574881589985281, conflictCommitTS=449574881590247424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.499 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881589985280, conflictStartTS=449574881589985281, conflictCommitTS=449574881590247424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.499 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881589985280, conflictStartTS=449574881589985281, conflictCommitTS=449574881590247424, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=253}, originalKey=748000fffffffffffe5f7280000000000000fd, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:253, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.502 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelling, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.502 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.502 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.503 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=253] [conn=3] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.505 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:253, Type:drop foreign key, State:cancelled, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.481 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.505 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=253] [2024/05/06 10:41:11.506 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.506 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=491] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DropForeignKey\n\tpkg/ddl/ddl_api.go:7956\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3959\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.506 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=491] [cur_db=test] [sql="alter table t drop foreign key fk"] [user=] [2024/05/06 10:41:11.508 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.508 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t drop foreign key fk"] [2024/05/06 10:41:11.518 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.518 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=254] [conn=3] [category=ddl] [job="ID:254, Type:drop foreign key, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.520 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.525 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=491] [neededSchemaVersion=493] ["start time"=522.288Β΅s] [gotSchemaVersion=493] [phyTblIDs="[111]"] [actionTypes="[10]"] [diffTypes="[\"drop foreign key\"]"] [2024/05/06 10:41:11.527 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=254] [version=493] [2024/05/06 10:41:11.530 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=493] ["take time"=4.866518ms] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.531 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:254, Type:drop foreign key, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.538 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=254] [conn=3] [job="ID:254, Type:drop foreign key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.541 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:254, Type:drop foreign key, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.507 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.542 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=254] [2024/05/06 10:41:11.542 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.542 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=493] [cur_db=test] [sql="create table t_rename1 (c1 bigint , c2 bigint);"] [user=] [2024/05/06 10:41:11.545 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.545 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename1 (c1 bigint , c2 bigint);"] [2024/05/06 10:41:11.554 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.554 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=256] [conn=3] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.555 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.557 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=493] [neededSchemaVersion=494] ["start time"=268.483Β΅s] [gotSchemaVersion=494] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:11.559 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=256] [version=494] [2024/05/06 10:41:11.559 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=494] ["take time"=2.424959ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.560 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.565 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=256] [conn=3] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.569 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=256] [2024/05/06 10:41:11.569 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.569 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=494] [cur_db=test] [sql="create table t_rename2 (c1 bigint , c2 bigint);"] [user=] [2024/05/06 10:41:11.572 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.572 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_rename2 (c1 bigint , c2 bigint);"] [2024/05/06 10:41:11.579 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.579 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=258] [conn=3] [category=ddl] [job="ID:258, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.580 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.582 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=494] [neededSchemaVersion=495] ["start time"=255.581Β΅s] [gotSchemaVersion=495] [phyTblIDs="[257]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:11.584 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=258] [version=495] [2024/05/06 10:41:11.584 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=495] ["take time"=2.404115ms] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.585 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:258, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.592 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=258] [conn=3] [job="ID:258, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.598 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:258, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.571 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.599 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=258] [2024/05/06 10:41:11.599 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.599 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=495] [cur_db=test] [sql="rename table t_rename1 to t_rename11"] [user=] [2024/05/06 10:41:11.602 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.602 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"] [2024/05/06 10:41:11.616 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.619 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [category=ddl] [job="ID:259, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.619 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:259, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.621 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881621704704, conflictStartTS=449574881621704705, conflictCommitTS=449574881621966849, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.621 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881621704704, conflictStartTS=449574881621704705, conflictCommitTS=449574881621966849, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.621 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881621704704, conflictStartTS=449574881621704705, conflictCommitTS=449574881621966849, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=259}, originalKey=748000fffffffffffe5f728000000000000103, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:259, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.626 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:259, Type:rename table, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.626 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [category=ddl] [job="ID:259, Type:rename table, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.626 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.626 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.626 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=259] [conn=3] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.629 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=259] [2024/05/06 10:41:11.629 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:259, Type:rename table, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.6 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.629 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.629 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=495] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTable\n\tpkg/ddl/ddl_api.go:7209\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7159\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:189\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.629 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=495] [cur_db=test] [sql="rename table t_rename1 to t_rename11"] [user=] [2024/05/06 10:41:11.632 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.632 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename1 to t_rename11"] [2024/05/06 10:41:11.644 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [category=ddl] [job="ID:260, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.645 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=495] [neededSchemaVersion=497] ["start time"=284.813Β΅s] [gotSchemaVersion=497] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2024/05/06 10:41:11.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=497] [2024/05/06 10:41:11.650 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=497] ["take time"=2.792327ms] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.651 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.657 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.657 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [category=ddl] [job="ID:260, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.658 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=497] [neededSchemaVersion=498] ["start time"=271.917Β΅s] [gotSchemaVersion=498] [phyTblIDs="[255]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2024/05/06 10:41:11.661 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=260] [version=498] [2024/05/06 10:41:11.662 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=498] ["take time"=2.646428ms] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.663 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.670 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=260] [conn=3] [job="ID:260, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.673 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=260] [2024/05/06 10:41:11.673 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.674 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:260, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.631 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.675 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=498] [cur_db=test] [sql="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [user=] [2024/05/06 10:41:11.678 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.678 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [2024/05/06 10:41:11.689 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.692 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [category=ddl] [job="ID:261, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.693 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:261, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.695 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881640841217, conflictStartTS=449574881640841218, conflictCommitTS=449574881641365504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.695 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881640841217, conflictStartTS=449574881640841218, conflictCommitTS=449574881641365504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.695 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881640841217, conflictStartTS=449574881640841218, conflictCommitTS=449574881641365504, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=261}, originalKey=748000fffffffffffe5f728000000000000105, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:261, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.700 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.700 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [category=ddl] [job="ID:261, Type:rename tables, State:cancelling, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.701 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.701 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.701 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=261] [conn=3] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.706 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:261, Type:rename tables, State:cancelled, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.676 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.707 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=261] [2024/05/06 10:41:11.707 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.707 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=498] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).renameTables\n\tpkg/ddl/ddl_api.go:7267\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).RenameTable\n\tpkg/ddl/ddl_api.go:7169\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeRenameTable\n\tpkg/executor/ddl.go:254\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:189\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.707 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=498] [cur_db=test] [sql="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [user=] [2024/05/06 10:41:11.710 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.711 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="rename table t_rename11 to t_rename111, t_rename2 to t_rename22"] [2024/05/06 10:41:11.727 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.727 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [category=ddl] [job="ID:262, Type:rename tables, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.730 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.733 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=498] [neededSchemaVersion=500] ["start time"=475.942Β΅s] [gotSchemaVersion=500] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"] [2024/05/06 10:41:11.735 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=500] [2024/05/06 10:41:11.743 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=500] ["take time"=10.870049ms] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.745 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.751 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.751 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [category=ddl] [job="ID:262, Type:rename tables, State:running, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.752 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=500] [neededSchemaVersion=501] ["start time"=415.748Β΅s] [gotSchemaVersion=501] [phyTblIDs="[255,257]"] [actionTypes="[47,47]"] [diffTypes="[\"rename tables\"]"] [2024/05/06 10:41:11.756 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=262] [version=501] [2024/05/06 10:41:11.760 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=501] ["take time"=5.638459ms] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:done, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:5, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.767 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=262] [conn=3] [job="ID:262, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.772 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:262, Type:rename tables, State:synced, SchemaState:public, SchemaID:2, TableID:257, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.773 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=262] [2024/05/06 10:41:11.773 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.773 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=501] [cur_db=test] [sql="create table t_cs(a varchar(10)) charset utf8"] [user=] [2024/05/06 10:41:11.777 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.777 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_cs(a varchar(10)) charset utf8"] [2024/05/06 10:41:11.798 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.798 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=264] [conn=3] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.799 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=501] [neededSchemaVersion=502] ["start time"=216.494Β΅s] [gotSchemaVersion=502] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2024/05/06 10:41:11.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=264] [version=502] [2024/05/06 10:41:11.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=502] ["take time"=7.670368ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.810 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.816 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=264] [conn=3] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.819 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.775 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.819 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=264] [2024/05/06 10:41:11.819 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.820 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=502] [cur_db=test] [sql="alter table t_cs convert to charset utf8mb4"] [user=] [2024/05/06 10:41:11.822 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.822 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"] [2024/05/06 10:41:11.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.842 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.845 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881679900672, conflictStartTS=449574881679900673, conflictCommitTS=449574881680424960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.845 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881679900672, conflictStartTS=449574881679900673, conflictCommitTS=449574881680424960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.845 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881679900672, conflictStartTS=449574881679900673, conflictCommitTS=449574881680424960, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=265}, originalKey=748000fffffffffffe5f728000000000000109, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:265, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.852 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelling, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.852 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelling, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.852 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.852 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.852 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=265] [conn=3] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.857 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=265] [2024/05/06 10:41:11.857 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.857 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:265, Type:modify table charset and collate, State:cancelled, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.821 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.857 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=502] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTableCharsetAndCollate\n\tpkg/ddl/ddl_api.go:6496\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4008\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.857 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=502] [cur_db=test] [sql="alter table t_cs convert to charset utf8mb4"] [user=] [2024/05/06 10:41:11.860 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.860 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_cs convert to charset utf8mb4"] [2024/05/06 10:41:11.870 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=266] [conn=3] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:queueing, SchemaState:none, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.871 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.873 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=502] [neededSchemaVersion=504] ["start time"=252.624Β΅s] [gotSchemaVersion=504] [phyTblIDs="[263]"] [actionTypes="[22]"] [diffTypes="[\"modify table charset and collate\"]"] [2024/05/06 10:41:11.874 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=266] [version=504] [2024/05/06 10:41:11.876 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=504] ["take time"=2.994465ms] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.877 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:done, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:3, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.907 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=266] [conn=3] [job="ID:266, Type:modify table charset and collate, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.911 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:266, Type:modify table charset and collate, State:synced, SchemaState:public, SchemaID:2, TableID:263, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.912 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=266] [2024/05/06 10:41:11.912 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.912 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=504] [cur_db=test] [sql="create database db_coll default charset utf8 collate utf8_bin"] [user=] [2024/05/06 10:41:11.914 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.914 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create database db_coll default charset utf8 collate utf8_bin"] [2024/05/06 10:41:11.924 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.924 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=268] [conn=3] [category=ddl] [job="ID:268, Type:create schema, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.925 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.927 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=504] [neededSchemaVersion=505] ["start time"=110.581Β΅s] [gotSchemaVersion=505] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2024/05/06 10:41:11.928 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=268] [version=505] [2024/05/06 10:41:11.929 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=505] ["take time"=2.083927ms] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.930 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:268, Type:create schema, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.934 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=268] [conn=3] [job="ID:268, Type:create schema, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.936 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:268, Type:create schema, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.913 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.937 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=268] [2024/05/06 10:41:11.937 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:11.939 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.940 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"] [2024/05/06 10:41:11.949 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.951 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.952 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.953 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881708998656, conflictStartTS=449574881709260800, conflictCommitTS=449574881709522944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:11.953 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881708998656, conflictStartTS=449574881709260800, conflictCommitTS=449574881709522944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:11.953 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881708998656, conflictStartTS=449574881709260800, conflictCommitTS=449574881709522944, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=269}, originalKey=748000fffffffffffe5f72800000000000010d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:269, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.957 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelling, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.957 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelling, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.957 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:11.957 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.957 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=269] [conn=3] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:269, Type:modify schema charset and collate, State:cancelled, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.938 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.961 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=269] [2024/05/06 10:41:11.961 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:11.961 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=505] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).ModifySchemaCharsetAndCollate\n\tpkg/ddl/ddl_api.go:264\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterSchema\n\tpkg/ddl/ddl_api.go:606\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterDatabase\n\tpkg/executor/ddl.go:263\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:150\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:11.964 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:11.964 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter database db_coll charset utf8mb4 collate utf8mb4_bin"] [2024/05/06 10:41:11.983 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.983 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=270] [conn=3] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:queueing, SchemaState:none, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.988 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.991 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=505] [neededSchemaVersion=507] ["start time"=118.825Β΅s] [gotSchemaVersion=507] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"modify schema charset and collate\"]"] [2024/05/06 10:41:11.992 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=270] [version=507] [2024/05/06 10:41:11.994 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=507] ["take time"=3.541955ms] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:11.995 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:done, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.001 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=270] [conn=3] [job="ID:270, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:270, Type:modify schema charset and collate, State:synced, SchemaState:public, SchemaID:267, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:11.963 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.004 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=270] [2024/05/06 10:41:12.004 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.005 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=507] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.008 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.009 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.043 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.046 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [category=ddl] [job="ID:272, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.048 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:272, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.050 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881733640193, conflictStartTS=449574881733902336, conflictCommitTS=449574881734426624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:12.051 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881733640193, conflictStartTS=449574881733902336, conflictCommitTS=449574881734426624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:12.051 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881733640193, conflictStartTS=449574881733902336, conflictCommitTS=449574881734426624, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=272}, originalKey=748000fffffffffffe5f728000000000000110, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:272, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.079 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelling, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.079 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelling, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.079 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.079 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.086 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=272] [conn=3] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.092 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:272, Type:truncate partition, State:cancelled, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.007 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.093 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=272] [2024/05/06 10:41:12.093 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.093 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=507] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTablePartition\n\tpkg/ddl/ddl_api.go:5025\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:3910\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.094 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=507] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.097 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.097 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.127 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.127 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=274] [conn=3] [category=ddl] [job="ID:274, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.128 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.139 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=507] [neededSchemaVersion=509] ["start time"=8.90512ms] [gotSchemaVersion=509] [phyTblIDs="[108]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.141 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=274] [version=509] [2024/05/06 10:41:12.142 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=509] ["take time"=12.356609ms] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.143 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:274, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.148 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[108]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.150 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate partition"] [2024/05/06 10:41:12.150 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=274] [conn=3] [job="ID:274, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.153 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:274, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.096 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.156 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=274] [2024/05/06 10:41:12.156 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.156 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=509] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.158 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=274] [elementID=1] [startKey=74800000000000006c] [endKey=74800000000000006d] [2024/05/06 10:41:12.158 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.158 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.166 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.166 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=276] [conn=3] [category=ddl] [job="ID:276, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.167 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.179 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=509] [neededSchemaVersion=510] ["start time"=9.026398ms] [gotSchemaVersion=510] [phyTblIDs="[273]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.181 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=276] [version=510] [2024/05/06 10:41:12.181 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=510] ["take time"=11.948086ms] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.182 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:276, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.189 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate partition"] [2024/05/06 10:41:12.190 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=276] [conn=3] [job="ID:276, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.196 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:276, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.158 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.196 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=276] [elementID=1] [startKey=748000000000000111] [endKey=748000000000000112] [2024/05/06 10:41:12.198 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=276] [2024/05/06 10:41:12.198 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.198 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=510] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.201 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.201 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.208 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.208 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=278] [conn=3] [category=ddl] [job="ID:278, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.209 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.219 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=510] [neededSchemaVersion=511] ["start time"=7.909232ms] [gotSchemaVersion=511] [phyTblIDs="[275]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.221 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=278] [version=511] [2024/05/06 10:41:12.221 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=511] ["take time"=10.334438ms] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.222 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:278, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.229 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[275]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.230 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="truncate partition"] [2024/05/06 10:41:12.230 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=278] [conn=3] [job="ID:278, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.233 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=278] [elementID=1] [startKey=748000000000000113] [endKey=748000000000000114] [2024/05/06 10:41:12.233 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:278, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.236 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=278] [2024/05/06 10:41:12.236 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.236 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=511] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.239 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.239 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.245 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.245 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=280] [conn=3] [category=ddl] [job="ID:280, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.246 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.259 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=511] [neededSchemaVersion=512] ["start time"=10.935522ms] [gotSchemaVersion=512] [phyTblIDs="[277]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.261 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=280] [version=512] [2024/05/06 10:41:12.271 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=512] ["take time"=23.489226ms] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.273 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:280, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.280 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=280] [tableIDs="[277]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.281 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=280] [jobType="truncate partition"] [2024/05/06 10:41:12.282 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=280] [conn=3] [job="ID:280, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.284 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=280] [elementID=1] [startKey=748000000000000115] [endKey=748000000000000116] [2024/05/06 10:41:12.284 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:280, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.238 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.287 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=280] [2024/05/06 10:41:12.287 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.287 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=512] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.290 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.290 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.297 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.297 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=282] [conn=3] [category=ddl] [job="ID:282, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.298 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.309 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=512] [neededSchemaVersion=513] ["start time"=9.07165ms] [gotSchemaVersion=513] [phyTblIDs="[279]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=282] [version=513] [2024/05/06 10:41:12.313 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=513] ["take time"=13.525367ms] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:282, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.320 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[279]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.322 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="truncate partition"] [2024/05/06 10:41:12.322 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=282] [conn=3] [job="ID:282, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.325 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=282] [elementID=1] [startKey=748000000000000117] [endKey=748000000000000118] [2024/05/06 10:41:12.326 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:282, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.289 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.329 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=282] [2024/05/06 10:41:12.329 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.330 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=513] [cur_db=test] [sql="alter table t_partition truncate partition p3"] [user=] [2024/05/06 10:41:12.333 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:41:12.333 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="alter table t_partition truncate partition p3"] [2024/05/06 10:41:12.340 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.340 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=284] [conn=3] [category=ddl] [job="ID:284, Type:truncate partition, State:queueing, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.341 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.351 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=513] [neededSchemaVersion=514] ["start time"=8.69715ms] [gotSchemaVersion=514] [phyTblIDs="[281]"] [actionTypes="[23]"] [diffTypes="[\"truncate partition\"]"] [2024/05/06 10:41:12.353 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=284] [version=514] [2024/05/06 10:41:12.355 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=514] ["take time"=12.020431ms] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.356 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:284, Type:truncate partition, State:done, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.365 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[281]"] [comment="drop partition: physical table ID(s)"] [2024/05/06 10:41:12.366 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="truncate partition"] [2024/05/06 10:41:12.367 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=284] [conn=3] [job="ID:284, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.370 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=284] [elementID=1] [startKey=748000000000000119] [endKey=74800000000000011a] [2024/05/06 10:41:12.372 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:284, Type:truncate partition, State:synced, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.332 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:41:12.375 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=284] [2024/05/06 10:41:12.375 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:12.376 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=514] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.379 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.379 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.388 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.391 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [category=ddl] [job="ID:285, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.391 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:285, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":33,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.393 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.395 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881824079872, conflictStartTS=449574881824079873, conflictCommitTS=449574881824604160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:12.395 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881824079872, conflictStartTS=449574881824079873, conflictCommitTS=449574881824604160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:12.395 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881824079872, conflictStartTS=449574881824079873, conflictCommitTS=449574881824604160, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=285}, originalKey=748000fffffffffffe5f72800000000000011d, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:285, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.399 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.399 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.399 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.401 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 10:41:12.401 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.408 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.408 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.410 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 10:41:12.411 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.425 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=285] [conn=3] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.428 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=285] [2024/05/06 10:41:12.429 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:285, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.377 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.429 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=285] [2024/05/06 10:41:12.430 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.430 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=514] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.430 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=514] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.433 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.433 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.443 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.443 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.444 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:286, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":33,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.447 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=514] [neededSchemaVersion=516] ["start time"=504.537Β΅s] [gotSchemaVersion=516] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=516] [2024/05/06 10:41:12.455 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=516] ["take time"=5.800552ms] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.456 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.461 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.464 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.465 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.466 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881843216384, conflictStartTS=449574881843216385, conflictCommitTS=449574881843740672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:12.466 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881843216384, conflictStartTS=449574881843216385, conflictCommitTS=449574881843740672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:12.466 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881843216384, conflictStartTS=449574881843216385, conflictCommitTS=449574881843740672, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=286}, originalKey=748000fffffffffffe5f72800000000000011e, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:286, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.472 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.472 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.472 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.473 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 10:41:12.474 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.485 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.485 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.486 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.486 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.487 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 10:41:12.488 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.491 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.491 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.492 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.494 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=516] [neededSchemaVersion=518] ["start time"=504.43Β΅s] [gotSchemaVersion=518] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.496 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=518] [2024/05/06 10:41:12.498 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=518] ["take time"=4.395843ms] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.501 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.505 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.505 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [category=ddl] [job="ID:286, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.506 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.509 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=518] [neededSchemaVersion=519] ["start time"=479.615Β΅s] [gotSchemaVersion=519] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.511 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=286] [version=519] [2024/05/06 10:41:12.513 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=519] ["take time"=4.217157ms] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.514 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.522 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.522 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.526 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 10:41:12.527 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.533 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=286] [conn=3] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.536 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=286] [2024/05/06 10:41:12.537 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:286, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.432 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.537 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=286] [2024/05/06 10:41:12.537 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.537 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=514] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.538 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=519] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.541 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.541 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.550 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.550 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.550 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:287, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":34,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.551 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.553 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=519] [neededSchemaVersion=520] ["start time"=489.775Β΅s] [gotSchemaVersion=520] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.555 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=520] [2024/05/06 10:41:12.557 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=520] ["take time"=4.253564ms] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.558 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.567 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.567 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.567 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.568 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 10:41:12.569 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.576 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.576 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:cancelling, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.577 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.577 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.578 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 10:41:12.579 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.586 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.586 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.587 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.589 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=520] [neededSchemaVersion=521] ["start time"=434.772Β΅s] [gotSchemaVersion=521] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.591 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=521] [2024/05/06 10:41:12.591 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=521] ["take time"=2.342909ms] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.593 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.597 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.597 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [category=ddl] [job="ID:287, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.598 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.601 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=521] [neededSchemaVersion=522] ["start time"=487.31Β΅s] [gotSchemaVersion=522] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.604 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=287] [version=522] [2024/05/06 10:41:12.605 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=522] ["take time"=4.299889ms] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.606 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.614 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.614 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.615 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 10:41:12.616 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.621 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=287] [conn=3] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.623 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=287] [2024/05/06 10:41:12.624 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:287, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.54 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.624 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=287] [2024/05/06 10:41:12.624 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.624 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=519] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.624 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=522] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.627 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.627 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.634 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.634 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.635 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":35,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.635 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.638 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=522] [neededSchemaVersion=523] ["start time"=495.773Β΅s] [gotSchemaVersion=523] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.639 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=523] [2024/05/06 10:41:12.642 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=523] ["take time"=5.015431ms] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.643 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.648 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.650 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=523] [neededSchemaVersion=524] ["start time"=507.237Β΅s] [gotSchemaVersion=524] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.652 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=524] [2024/05/06 10:41:12.654 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=524] ["take time"=4.888435ms] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.655 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.662 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.664 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.665 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.666 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881895907328, conflictStartTS=449574881895907329, conflictCommitTS=449574881896169472, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:12.666 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881895907328, conflictStartTS=449574881895907329, conflictCommitTS=449574881896169472, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:12.666 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881895907328, conflictStartTS=449574881895907329, conflictCommitTS=449574881896169472, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=288}, originalKey=748000fffffffffffe5f728000000000000120, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:288, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.670 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.671 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.671 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.671 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 10:41:12.672 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.676 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.676 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.677 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.677 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.680 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=524] [neededSchemaVersion=526] ["start time"=516.219Β΅s] [gotSchemaVersion=526] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=526] [2024/05/06 10:41:12.683 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=526] ["take time"=4.052492ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.684 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.691 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.691 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.692 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.694 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=526] [neededSchemaVersion=527] ["start time"=530.401Β΅s] [gotSchemaVersion=527] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.696 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=527] [2024/05/06 10:41:12.698 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=527] ["take time"=4.681083ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.699 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.704 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.704 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [category=ddl] [job="ID:288, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.707 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.710 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=527] [neededSchemaVersion=528] ["start time"=504.427Β΅s] [gotSchemaVersion=528] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.712 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=288] [version=528] [2024/05/06 10:41:12.716 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=528] ["take time"=6.603925ms] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.721 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.732 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.732 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.735 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 10:41:12.736 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.741 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=288] [conn=3] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.743 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=288] [2024/05/06 10:41:12.744 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:288, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.626 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.744 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=288] [2024/05/06 10:41:12.744 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.744 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=522] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.744 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=528] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.746 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.746 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.759 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.759 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.760 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:289, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":36,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.761 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.763 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=528] [neededSchemaVersion=529] ["start time"=474.897Β΅s] [gotSchemaVersion=529] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.765 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=529] [2024/05/06 10:41:12.767 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=529] ["take time"=4.909124ms] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.768 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.779 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.779 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.780 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.782 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=529] [neededSchemaVersion=530] ["start time"=530.582Β΅s] [gotSchemaVersion=530] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.784 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=530] [2024/05/06 10:41:12.784 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=530] ["take time"=2.335812ms] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.785 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.791 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.791 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.791 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.797 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 10:41:12.798 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.802 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.802 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:cancelling, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.803 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.803 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.805 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=530] [neededSchemaVersion=531] ["start time"=469.203Β΅s] [gotSchemaVersion=531] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.807 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=531] [2024/05/06 10:41:12.809 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=531] ["take time"=4.441785ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.811 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.816 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.816 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.818 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.822 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=531] [neededSchemaVersion=532] ["start time"=435.532Β΅s] [gotSchemaVersion=532] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.824 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=532] [2024/05/06 10:41:12.827 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=532] ["take time"=5.841879ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.828 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.833 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.833 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [category=ddl] [job="ID:289, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.834 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.837 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=532] [neededSchemaVersion=533] ["start time"=389.097Β΅s] [gotSchemaVersion=533] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.838 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=289] [version=533] [2024/05/06 10:41:12.841 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=533] ["take time"=4.874694ms] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.842 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.846 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.846 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.848 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 10:41:12.848 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.853 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=289] [conn=3] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.856 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=289] [2024/05/06 10:41:12.856 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=289] [2024/05/06 10:41:12.856 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:289, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.745 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.856 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.856 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=528] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.857 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=533] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.859 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.859 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.870 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.870 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.870 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":37,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.871 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.873 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=533] [neededSchemaVersion=534] ["start time"=520.143Β΅s] [gotSchemaVersion=534] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.875 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=534] [2024/05/06 10:41:12.877 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=534] ["take time"=4.103605ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.878 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.882 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.882 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.883 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.885 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=534] [neededSchemaVersion=535] ["start time"=547.009Β΅s] [gotSchemaVersion=535] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.887 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=535] [2024/05/06 10:41:12.891 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=535] ["take time"=6.490988ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.900 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.900 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.901 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.904 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=535] [neededSchemaVersion=536] ["start time"=469.419Β΅s] [gotSchemaVersion=536] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.905 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=536] [2024/05/06 10:41:12.907 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=536] ["take time"=4.495102ms] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.908 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.913 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.916 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.916 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:290, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":38,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.917 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.918 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574881961705472, conflictStartTS=449574881961705474, conflictCommitTS=449574881962229760, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:12.918 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574881961705472, conflictStartTS=449574881961705474, conflictCommitTS=449574881962229760, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:12.918 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574881961705472, conflictStartTS=449574881961705474, conflictCommitTS=449574881962229760, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=290}, originalKey=748000fffffffffffe5f728000000000000122, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:290, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.922 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.922 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.922 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.924 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 10:41:12.925 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.929 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.929 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:12.930 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:12.930 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.932 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=536] [neededSchemaVersion=538] ["start time"=547.479Β΅s] [gotSchemaVersion=538] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.934 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=538] [2024/05/06 10:41:12.934 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=538] ["take time"=2.042143ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.934 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.938 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.938 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:12.939 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.940 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=538] [neededSchemaVersion=539] ["start time"=448.353Β΅s] [gotSchemaVersion=539] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.942 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=539] [2024/05/06 10:41:12.942 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=539] ["take time"=2.215306ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.943 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.946 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.946 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [category=ddl] [job="ID:290, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:12.947 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.950 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=539] [neededSchemaVersion=540] ["start time"=395.215Β΅s] [gotSchemaVersion=540] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.951 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=290] [version=540] [2024/05/06 10:41:12.951 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=540] ["take time"=2.065305ms] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.952 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.958 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.958 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.960 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 10:41:12.960 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.966 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=290] [conn=3] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.968 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=290] [2024/05/06 10:41:12.969 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:290, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.858 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.969 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=290] [2024/05/06 10:41:12.969 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:12.969 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=533] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:12.970 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=540] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:12.973 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:12.973 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:12.981 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.982 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.982 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":38,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:12.984 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.987 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=540] [neededSchemaVersion=541] ["start time"=401.845Β΅s] [gotSchemaVersion=541] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:12.988 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=541] [2024/05/06 10:41:12.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=541] ["take time"=5.145918ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.992 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.997 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:12.997 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:12.998 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=541] [neededSchemaVersion=542] ["start time"=473.685Β΅s] [gotSchemaVersion=542] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.002 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=542] [2024/05/06 10:41:13.012 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=542] ["take time"=11.883637ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.013 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.017 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.017 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.018 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.020 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=542] [neededSchemaVersion=543] ["start time"=493.514Β΅s] [gotSchemaVersion=543] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.022 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=543] [2024/05/06 10:41:13.025 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=543] ["take time"=5.256964ms] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.026 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.032 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.032 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:13.032 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.033 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 10:41:13.034 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.038 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.038 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:cancelling, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.038 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:1, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:13.038 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.041 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=543] [neededSchemaVersion=544] ["start time"=471.575Β΅s] [gotSchemaVersion=544] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=544] [2024/05/06 10:41:13.042 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=544] ["take time"=2.015551ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.044 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.047 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.048 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.048 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.051 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=544] [neededSchemaVersion=545] ["start time"=664.425Β΅s] [gotSchemaVersion=545] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.052 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=545] [2024/05/06 10:41:13.055 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=545] ["take time"=4.727744ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.056 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [category=ddl] [job="ID:291, Type:add column, State:rollingback, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.064 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=545] [neededSchemaVersion=546] ["start time"=473.025Β΅s] [gotSchemaVersion=546] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.065 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=291] [version=546] [2024/05/06 10:41:13.065 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=546] ["take time"=2.043035ms] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.066 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.070 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.070 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.072 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 10:41:13.073 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.077 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=291] [conn=3] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.080 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=291] [2024/05/06 10:41:13.080 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:291, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:12.971 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.081 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=291] [2024/05/06 10:41:13.081 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:13.081 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=540] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:306\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:13.082 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=546] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:13.085 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.085 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:13.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.094 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":39,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=546] [neededSchemaVersion=547] ["start time"=368.495Β΅s] [gotSchemaVersion=547] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=547] [2024/05/06 10:41:13.100 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=547] ["take time"=4.225745ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.101 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.104 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.104 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.105 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.108 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=547] [neededSchemaVersion=548] ["start time"=503.628Β΅s] [gotSchemaVersion=548] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.110 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=548] [2024/05/06 10:41:13.110 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=548] ["take time"=2.320627ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.111 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.116 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.116 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.117 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.120 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=548] [neededSchemaVersion=549] ["start time"=469.908Β΅s] [gotSchemaVersion=549] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.122 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=549] [2024/05/06 10:41:13.122 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=549] ["take time"=2.331013ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.124 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.128 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.128 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.129 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":40,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.129 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.132 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=549] [neededSchemaVersion=550] ["start time"=469.701Β΅s] [gotSchemaVersion=550] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.133 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=550] [2024/05/06 10:41:13.135 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=550] ["take time"=4.407112ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.136 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.140 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.140 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.141 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.143 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=550] [neededSchemaVersion=551] ["start time"=543.083Β΅s] [gotSchemaVersion=551] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.145 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=551] [2024/05/06 10:41:13.147 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=551] ["take time"=4.265625ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.148 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.152 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.152 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.152 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.154 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=551] [neededSchemaVersion=552] ["start time"=489.237Β΅s] [gotSchemaVersion=552] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.156 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=552] [2024/05/06 10:41:13.156 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=552] ["take time"=2.327728ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.157 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.162 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.162 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.163 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [category=ddl] [job="ID:292, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.164 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.167 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=552] [neededSchemaVersion=553] ["start time"=533.459Β΅s] [gotSchemaVersion=553] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.168 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=292] [version=553] [2024/05/06 10:41:13.170 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=553] ["take time"=4.314067ms] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.177 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.177 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.178 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=292] [2024/05/06 10:41:13.179 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.183 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=292] [conn=3] [job="ID:292, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.186 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:292, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.083 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.187 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=292] [2024/05/06 10:41:13.187 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.188 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=553] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:13.190 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.190 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:13.198 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.201 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [category=ddl] [job="ID:293, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.201 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.202 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574882036416512, conflictStartTS=449574882036416513, conflictCommitTS=449574882036678657, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:13.202 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574882036416512, conflictStartTS=449574882036416513, conflictCommitTS=449574882036678657, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:13.202 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574882036416512, conflictStartTS=449574882036416513, conflictCommitTS=449574882036678657, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=293}, originalKey=748000fffffffffffe5f728000000000000125, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:293, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.207 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.207 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:13.207 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.208 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 10:41:13.209 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.215 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 10:41:13.215 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.219 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=293] [conn=3] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.226 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=293] [2024/05/06 10:41:13.227 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:293, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.189 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.227 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=293] [2024/05/06 10:41:13.227 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:13.227 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=553] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:13.227 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=553] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:13.234 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.234 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:13.242 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.242 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.243 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.244 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 10:41:13.245 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.249 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.249 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.250 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.251 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 10:41:13.252 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.261 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.262 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.262 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.263 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.267 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=553] [neededSchemaVersion=554] ["start time"=555.44Β΅s] [gotSchemaVersion=554] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.270 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=554] [2024/05/06 10:41:13.271 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=554] ["take time"=4.460155ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.272 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.278 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.278 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.278 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.281 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=554] [neededSchemaVersion=555] ["start time"=498.753Β΅s] [gotSchemaVersion=555] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.282 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=555] [2024/05/06 10:41:13.285 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=555] ["take time"=4.512013ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.289 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.289 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.290 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.293 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=555] [neededSchemaVersion=556] ["start time"=516.22Β΅s] [gotSchemaVersion=556] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.294 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=556] [2024/05/06 10:41:13.305 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=556] ["take time"=13.018792ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.306 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.310 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.310 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.311 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.314 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=556] [neededSchemaVersion=557] ["start time"=522.017Β΅s] [gotSchemaVersion=557] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.316 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=557] [2024/05/06 10:41:13.318 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=557] ["take time"=4.390454ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.321 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.331 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.331 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.335 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=557] [neededSchemaVersion=558] ["start time"=498.624Β΅s] [gotSchemaVersion=558] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.336 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=558] [2024/05/06 10:41:13.340 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=558] ["take time"=5.541234ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.341 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.347 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.347 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=558] [neededSchemaVersion=559] ["start time"=509.388Β΅s] [gotSchemaVersion=559] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=559] [2024/05/06 10:41:13.354 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=559] ["take time"=4.499354ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.356 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.359 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.359 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [category=ddl] [job="ID:294, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.360 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.363 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=559] [neededSchemaVersion=560] ["start time"=490.789Β΅s] [gotSchemaVersion=560] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.364 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=294] [version=560] [2024/05/06 10:41:13.373 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=560] ["take time"=10.681039ms] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.374 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.383 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.384 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=294] [2024/05/06 10:41:13.385 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.390 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="alter table multi-schema change"] [2024/05/06 10:41:13.391 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=294] [conn=3] [job="ID:294, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.394 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:294, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.396 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=294] [2024/05/06 10:41:13.396 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.396 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=560] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:13.410 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.410 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:13.417 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.417 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.418 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":41,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.422 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.426 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=560] [neededSchemaVersion=561] ["start time"=529.855Β΅s] [gotSchemaVersion=561] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=561] [2024/05/06 10:41:13.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=561] ["take time"=5.128294ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.433 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.433 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.434 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.437 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=561] [neededSchemaVersion=562] ["start time"=506.729Β΅s] [gotSchemaVersion=562] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.438 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=562] [2024/05/06 10:41:13.440 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=562] ["take time"=4.027757ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.441 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.445 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.445 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.446 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.448 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=562] [neededSchemaVersion=563] ["start time"=520.513Β΅s] [gotSchemaVersion=563] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.450 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=563] [2024/05/06 10:41:13.452 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=563] ["take time"=4.475101ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.453 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.457 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.458 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.458 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":42,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.458 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.461 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=563] [neededSchemaVersion=564] ["start time"=544.746Β΅s] [gotSchemaVersion=564] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.462 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=564] [2024/05/06 10:41:13.464 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=564] ["take time"=4.128915ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.466 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.473 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.476 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=564] [neededSchemaVersion=565] ["start time"=401.098Β΅s] [gotSchemaVersion=565] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.477 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=565] [2024/05/06 10:41:13.478 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=565] ["take time"=2.598192ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.479 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.483 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.483 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.487 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.489 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=565] [neededSchemaVersion=566] ["start time"=522.794Β΅s] [gotSchemaVersion=566] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.491 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=566] [2024/05/06 10:41:13.493 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=566] ["take time"=5.065384ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.494 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.499 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.499 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.500 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [category=ddl] [job="ID:295, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.500 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.504 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=566] [neededSchemaVersion=567] ["start time"=464.575Β΅s] [gotSchemaVersion=567] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.506 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=295] [version=567] [2024/05/06 10:41:13.508 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=567] ["take time"=4.960487ms] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.516 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.517 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.519 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=295] [2024/05/06 10:41:13.519 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.526 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=295] [conn=3] [job="ID:295, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.529 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:295, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.530 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=295] [2024/05/06 10:41:13.530 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.530 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=567] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:13.533 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.533 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:13.543 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.543 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.544 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.545 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 10:41:13.545 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.550 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.550 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.550 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.557 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 10:41:13.558 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.563 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.563 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.564 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.564 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.567 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=567] [neededSchemaVersion=568] ["start time"=514.378Β΅s] [gotSchemaVersion=568] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.570 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=568] [2024/05/06 10:41:13.570 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=568] ["take time"=4.101863ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.572 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.579 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.579 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.579 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.582 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=568] [neededSchemaVersion=569] ["start time"=516.558Β΅s] [gotSchemaVersion=569] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.584 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=569] [2024/05/06 10:41:13.585 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=569] ["take time"=4.026567ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.586 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.591 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.594 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.596 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=569] [neededSchemaVersion=570] ["start time"=504.078Β΅s] [gotSchemaVersion=570] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.598 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=570] [2024/05/06 10:41:13.600 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=570] ["take time"=4.225478ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.601 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.606 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.606 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.607 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.609 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=570] [neededSchemaVersion=571] ["start time"=409.621Β΅s] [gotSchemaVersion=571] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.611 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=571] [2024/05/06 10:41:13.611 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=571] ["take time"=2.073837ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.612 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.616 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.617 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.617 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=571] [neededSchemaVersion=572] ["start time"=442.598Β΅s] [gotSchemaVersion=572] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.621 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=572] [2024/05/06 10:41:13.624 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=572] ["take time"=5.004994ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.627 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.633 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.633 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.633 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.636 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=572] [neededSchemaVersion=573] ["start time"=522.577Β΅s] [gotSchemaVersion=573] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.638 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=573] [2024/05/06 10:41:13.640 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=573] ["take time"=4.961743ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.642 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.645 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.645 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [category=ddl] [job="ID:296, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.646 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.650 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=573] [neededSchemaVersion=574] ["start time"=689.203Β΅s] [gotSchemaVersion=574] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.651 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=296] [version=574] [2024/05/06 10:41:13.653 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=574] ["take time"=4.152224ms] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.654 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.663 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.663 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.664 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=296] [2024/05/06 10:41:13.665 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.672 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=296] [jobType="alter table multi-schema change"] [2024/05/06 10:41:13.673 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=296] [conn=3] [job="ID:296, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.676 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:296, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.532 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.680 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=296] [2024/05/06 10:41:13.680 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.681 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=574] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:13.685 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.685 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:13.690 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.691 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":43,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.691 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.696 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=574] [neededSchemaVersion=575] ["start time"=465.652Β΅s] [gotSchemaVersion=575] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.698 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=575] [2024/05/06 10:41:13.698 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=575] ["take time"=2.458577ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.699 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.707 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.708 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.710 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=575] [neededSchemaVersion=576] ["start time"=370.26Β΅s] [gotSchemaVersion=576] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.711 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=576] [2024/05/06 10:41:13.712 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=576] ["take time"=2.259355ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.713 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.717 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.717 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.718 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.720 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=576] [neededSchemaVersion=577] ["start time"=478.477Β΅s] [gotSchemaVersion=577] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.722 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=577] [2024/05/06 10:41:13.723 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=577] ["take time"=4.070506ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.724 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.729 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.729 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.729 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":44,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.730 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.732 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=577] [neededSchemaVersion=578] ["start time"=461.254Β΅s] [gotSchemaVersion=578] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.733 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=578] [2024/05/06 10:41:13.734 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=578] ["take time"=3.097672ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.735 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.739 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.739 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.740 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.742 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=578] [neededSchemaVersion=579] ["start time"=497.571Β΅s] [gotSchemaVersion=579] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=579] [2024/05/06 10:41:13.746 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=579] ["take time"=5.02192ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.747 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.752 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.752 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.753 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.755 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=579] [neededSchemaVersion=580] ["start time"=518.779Β΅s] [gotSchemaVersion=580] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.757 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=580] [2024/05/06 10:41:13.759 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=580] ["take time"=4.582655ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.760 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.764 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.764 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.765 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [category=ddl] [job="ID:297, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.765 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.768 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=580] [neededSchemaVersion=581] ["start time"=608.717Β΅s] [gotSchemaVersion=581] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.771 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=297] [version=581] [2024/05/06 10:41:13.772 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=581] ["take time"=4.152583ms] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.779 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.779 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.782 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=297] [2024/05/06 10:41:13.782 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.786 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=297] [conn=3] [job="ID:297, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.793 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:297, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.682 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.793 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=297] [2024/05/06 10:41:13.793 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.794 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=581] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:13.798 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.799 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:13.809 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.809 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.810 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.811 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 10:41:13.811 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.818 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.818 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.818 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.819 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 10:41:13.820 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.830 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.832 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=581] [neededSchemaVersion=582] ["start time"=508.02Β΅s] [gotSchemaVersion=582] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:13.835 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=582] [2024/05/06 10:41:13.838 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=582] ["take time"=4.500724ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.839 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.841 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.842 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.844 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=582] [neededSchemaVersion=583] ["start time"=360.353Β΅s] [gotSchemaVersion=583] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.845 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=583] [2024/05/06 10:41:13.846 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=583] ["take time"=2.470127ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.847 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.850 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.850 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.850 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.852 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=583] [neededSchemaVersion=584] ["start time"=312.558Β΅s] [gotSchemaVersion=584] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=584] [2024/05/06 10:41:13.854 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=584] ["take time"=3.016279ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.855 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.858 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.858 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.862 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.868 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=584] [neededSchemaVersion=585] ["start time"=518.679Β΅s] [gotSchemaVersion=585] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.869 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=585] [2024/05/06 10:41:13.872 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=585] ["take time"=5.294123ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.873 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.878 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.878 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.879 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.881 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=585] [neededSchemaVersion=586] ["start time"=521.463Β΅s] [gotSchemaVersion=586] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.883 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=586] [2024/05/06 10:41:13.883 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=586] ["take time"=2.297838ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.884 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.888 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.888 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.889 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.892 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=586] [neededSchemaVersion=587] ["start time"=520.014Β΅s] [gotSchemaVersion=587] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.894 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=587] [2024/05/06 10:41:13.906 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=587] ["take time"=14.727032ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.907 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.913 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.913 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [category=ddl] [job="ID:298, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:13.914 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=587] [neededSchemaVersion=588] ["start time"=482.371Β΅s] [gotSchemaVersion=588] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:13.918 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=298] [version=588] [2024/05/06 10:41:13.920 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=588] ["take time"=4.377585ms] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.921 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.929 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.929 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.930 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=298] [2024/05/06 10:41:13.931 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.934 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="alter table multi-schema change"] [2024/05/06 10:41:13.934 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=298] [conn=3] [job="ID:298, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.937 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:298, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.940 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=298] [2024/05/06 10:41:13.940 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:13.940 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=588] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:13.943 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:13.943 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:13.949 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.949 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":45,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.950 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.952 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=588] [neededSchemaVersion=589] ["start time"=487.32Β΅s] [gotSchemaVersion=589] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.953 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=589] [2024/05/06 10:41:13.956 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=589] ["take time"=4.387104ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.957 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.961 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.961 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.962 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.964 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=589] [neededSchemaVersion=590] ["start time"=479.381Β΅s] [gotSchemaVersion=590] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.966 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=590] [2024/05/06 10:41:13.972 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=590] ["take time"=8.028413ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.973 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.979 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.979 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.980 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.983 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=590] [neededSchemaVersion=591] ["start time"=481.385Β΅s] [gotSchemaVersion=591] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:13.984 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=591] [2024/05/06 10:41:13.987 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=591] ["take time"=5.030907ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.989 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.995 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:13.995 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":46,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:13.996 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:13.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=591] [neededSchemaVersion=592] ["start time"=492.418Β΅s] [gotSchemaVersion=592] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.000 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=592] [2024/05/06 10:41:14.003 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=592] ["take time"=5.220198ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.004 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.009 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.010 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=592] [neededSchemaVersion=593] ["start time"=537.156Β΅s] [gotSchemaVersion=593] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.014 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=593] [2024/05/06 10:41:14.018 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=593] ["take time"=5.766007ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.019 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.029 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.029 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.030 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.032 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=593] [neededSchemaVersion=594] ["start time"=437.847Β΅s] [gotSchemaVersion=594] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.033 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=594] [2024/05/06 10:41:14.036 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=594] ["take time"=4.701229ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.042 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.042 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.043 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [category=ddl] [job="ID:299, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.043 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.046 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=594] [neededSchemaVersion=595] ["start time"=502.584Β΅s] [gotSchemaVersion=595] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.047 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=299] [version=595] [2024/05/06 10:41:14.047 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=595] ["take time"=2.022768ms] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.048 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.053 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.053 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.055 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=299] [2024/05/06 10:41:14.055 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.062 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=299] [conn=3] [job="ID:299, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.074 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:299, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:13.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.075 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=299] [2024/05/06 10:41:14.075 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.075 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=595] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:14.083 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.083 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:14.111 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.111 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.116 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 10:41:14.116 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.123 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 10:41:14.123 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.134 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.135 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.136 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.136 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=595] [neededSchemaVersion=596] ["start time"=511.793Β΅s] [gotSchemaVersion=596] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.140 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=596] [2024/05/06 10:41:14.142 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=596] ["take time"=4.112573ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.143 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.149 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.151 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.153 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=596] [neededSchemaVersion=597] ["start time"=532.328Β΅s] [gotSchemaVersion=597] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=597] [2024/05/06 10:41:14.157 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=597] ["take time"=4.121732ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.158 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.165 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.165 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.167 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.171 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=597] [neededSchemaVersion=598] ["start time"=362.202Β΅s] [gotSchemaVersion=598] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=598] [2024/05/06 10:41:14.174 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=598] ["take time"=4.725591ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.176 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.180 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.180 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.184 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=598] [neededSchemaVersion=599] ["start time"=484.234Β΅s] [gotSchemaVersion=599] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.185 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=599] [2024/05/06 10:41:14.188 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=599] ["take time"=4.686877ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.189 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.194 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.194 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.198 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.201 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=599] [neededSchemaVersion=600] ["start time"=542.666Β΅s] [gotSchemaVersion=600] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.203 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=600] [2024/05/06 10:41:14.207 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=600] ["take time"=6.21912ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.208 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.213 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.213 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.214 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.216 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=600] [neededSchemaVersion=601] ["start time"=539.716Β΅s] [gotSchemaVersion=601] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.218 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=601] [2024/05/06 10:41:14.220 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=601] ["take time"=4.576052ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.221 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.231 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [category=ddl] [job="ID:300, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.231 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.234 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=601] [neededSchemaVersion=602] ["start time"=528.286Β΅s] [gotSchemaVersion=602] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.236 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=300] [version=602] [2024/05/06 10:41:14.238 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=602] ["take time"=4.890157ms] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.239 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.246 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.246 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.247 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=300] [2024/05/06 10:41:14.248 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.252 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=300] [jobType="alter table multi-schema change"] [2024/05/06 10:41:14.253 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=300] [conn=3] [job="ID:300, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.256 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:300, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.077 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.260 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=300] [2024/05/06 10:41:14.260 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.260 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=602] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:14.264 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.264 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:14.270 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.270 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.270 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":47,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.271 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.273 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=602] [neededSchemaVersion=603] ["start time"=497.032Β΅s] [gotSchemaVersion=603] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=603] [2024/05/06 10:41:14.275 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=603] ["take time"=2.127257ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.275 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.279 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.279 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.279 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.282 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=603] [neededSchemaVersion=604] ["start time"=495.277Β΅s] [gotSchemaVersion=604] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.283 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=604] [2024/05/06 10:41:14.286 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=604] ["take time"=4.328811ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.287 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.291 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.291 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.295 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=604] [neededSchemaVersion=605] ["start time"=433.565Β΅s] [gotSchemaVersion=605] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.297 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=605] [2024/05/06 10:41:14.299 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=605] ["take time"=4.329149ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.300 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.307 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.307 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.307 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":48,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.310 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=605] [neededSchemaVersion=606] ["start time"=528.318Β΅s] [gotSchemaVersion=606] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.311 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=606] [2024/05/06 10:41:14.314 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=606] ["take time"=4.902659ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.315 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.320 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.320 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.321 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.323 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=606] [neededSchemaVersion=607] ["start time"=513.955Β΅s] [gotSchemaVersion=607] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.325 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=607] [2024/05/06 10:41:14.338 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=607] ["take time"=15.278317ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.340 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.344 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.344 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.344 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.346 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=607] [neededSchemaVersion=608] ["start time"=825.169Β΅s] [gotSchemaVersion=608] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.348 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=608] [2024/05/06 10:41:14.351 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=608] ["take time"=5.48313ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.352 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.355 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.356 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.356 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [category=ddl] [job="ID:301, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.357 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.360 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=608] [neededSchemaVersion=609] ["start time"=564.121Β΅s] [gotSchemaVersion=609] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.361 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=301] [version=609] [2024/05/06 10:41:14.364 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=609] ["take time"=4.639156ms] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.365 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.369 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.369 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.370 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=301] [2024/05/06 10:41:14.371 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.380 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=301] [conn=3] [job="ID:301, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.386 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:301, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.263 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.387 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=301] [2024/05/06 10:41:14.387 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.387 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=609] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:14.402 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.402 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:14.409 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.409 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.410 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.411 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 10:41:14.411 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.416 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.416 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.416 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.417 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 10:41:14.417 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.423 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.425 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.427 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=609] [neededSchemaVersion=610] ["start time"=557.411Β΅s] [gotSchemaVersion=610] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.429 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=610] [2024/05/06 10:41:14.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=610] ["take time"=2.406621ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.430 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.436 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.436 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.439 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=610] [neededSchemaVersion=611] ["start time"=482.238Β΅s] [gotSchemaVersion=611] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.441 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=611] [2024/05/06 10:41:14.444 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=611] ["take time"=5.564992ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.445 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.450 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.450 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.451 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.453 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=611] [neededSchemaVersion=612] ["start time"=509.403Β΅s] [gotSchemaVersion=612] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.454 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=612] [2024/05/06 10:41:14.461 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=612] ["take time"=8.819796ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.462 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.466 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.466 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.467 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.470 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=612] [neededSchemaVersion=613] ["start time"=549.946Β΅s] [gotSchemaVersion=613] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.471 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=613] [2024/05/06 10:41:14.473 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=613] ["take time"=4.193322ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.474 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.478 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.478 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.479 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.481 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=613] [neededSchemaVersion=614] ["start time"=347.788Β΅s] [gotSchemaVersion=614] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.482 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=614] [2024/05/06 10:41:14.482 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=614] ["take time"=2.031087ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.483 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.490 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.490 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.491 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.493 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=614] [neededSchemaVersion=615] ["start time"=469.26Β΅s] [gotSchemaVersion=615] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.494 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=615] [2024/05/06 10:41:14.497 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=615] ["take time"=4.953889ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.499 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.502 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.502 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [category=ddl] [job="ID:302, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.503 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.505 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=615] [neededSchemaVersion=616] ["start time"=464.378Β΅s] [gotSchemaVersion=616] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.507 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=302] [version=616] [2024/05/06 10:41:14.509 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=616] ["take time"=4.310544ms] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.516 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.516 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.517 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=302] [2024/05/06 10:41:14.518 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.523 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=302] [jobType="alter table multi-schema change"] [2024/05/06 10:41:14.524 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=302] [conn=3] [job="ID:302, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.526 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:302, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.389 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.529 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=302] [2024/05/06 10:41:14.529 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.530 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=616] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:14.533 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.533 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:14.547 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.547 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.548 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":49,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.548 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.551 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=616] [neededSchemaVersion=617] ["start time"=502.86Β΅s] [gotSchemaVersion=617] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.553 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=617] [2024/05/06 10:41:14.554 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=617] ["take time"=4.09588ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.556 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.561 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.561 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.562 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.564 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=617] [neededSchemaVersion=618] ["start time"=509.095Β΅s] [gotSchemaVersion=618] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.566 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=618] [2024/05/06 10:41:14.571 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=618] ["take time"=7.44278ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.573 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.581 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.581 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.582 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.584 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=618] [neededSchemaVersion=619] ["start time"=377.274Β΅s] [gotSchemaVersion=619] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.586 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=619] [2024/05/06 10:41:14.586 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=619] ["take time"=2.259045ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.587 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.592 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.592 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":50,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.592 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.595 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=619] [neededSchemaVersion=620] ["start time"=408.859Β΅s] [gotSchemaVersion=620] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.596 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=620] [2024/05/06 10:41:14.597 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=620] ["take time"=2.970473ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.598 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.602 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.602 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.603 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.605 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=620] [neededSchemaVersion=621] ["start time"=501.424Β΅s] [gotSchemaVersion=621] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.607 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=621] [2024/05/06 10:41:14.610 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=621] ["take time"=4.725216ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.611 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.615 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.615 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.616 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.618 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=621] [neededSchemaVersion=622] ["start time"=403.636Β΅s] [gotSchemaVersion=622] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.619 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=622] [2024/05/06 10:41:14.620 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=622] ["take time"=2.652916ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.621 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.628 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.628 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.629 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [category=ddl] [job="ID:303, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.629 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.632 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=622] [neededSchemaVersion=623] ["start time"=497.544Β΅s] [gotSchemaVersion=623] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.634 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=303] [version=623] [2024/05/06 10:41:14.637 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=623] ["take time"=5.040247ms] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.638 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.641 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.641 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.643 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=303] [2024/05/06 10:41:14.643 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.647 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=303] [conn=3] [job="ID:303, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.650 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:303, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.531 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.651 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=303] [2024/05/06 10:41:14.651 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.652 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=623] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:14.655 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.655 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:14.662 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.662 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.663 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.664 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 10:41:14.665 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.669 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.669 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.670 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.671 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 10:41:14.671 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.676 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.677 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.677 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.678 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.680 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=623] [neededSchemaVersion=624] ["start time"=395.058Β΅s] [gotSchemaVersion=624] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.681 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=624] [2024/05/06 10:41:14.684 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=624] ["take time"=4.783672ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.685 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.690 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.690 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.691 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.693 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=624] [neededSchemaVersion=625] ["start time"=519.704Β΅s] [gotSchemaVersion=625] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.694 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=625] [2024/05/06 10:41:14.697 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=625] ["take time"=4.529762ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.698 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.703 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.704 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.713 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.716 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=625] [neededSchemaVersion=626] ["start time"=548.774Β΅s] [gotSchemaVersion=626] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.718 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=626] [2024/05/06 10:41:14.719 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=626] ["take time"=4.076564ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.725 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.731 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.732 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.732 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.735 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=626] [neededSchemaVersion=627] ["start time"=542.051Β΅s] [gotSchemaVersion=627] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.736 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=627] [2024/05/06 10:41:14.740 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=627] ["take time"=5.862499ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.741 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.745 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.745 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.746 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.748 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=627] [neededSchemaVersion=628] ["start time"=505.802Β΅s] [gotSchemaVersion=628] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.750 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=628] [2024/05/06 10:41:14.752 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=628] ["take time"=4.363122ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.753 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.758 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.758 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.759 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.762 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=628] [neededSchemaVersion=629] ["start time"=504.263Β΅s] [gotSchemaVersion=629] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.764 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=629] [2024/05/06 10:41:14.766 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=629] ["take time"=5.026072ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.767 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.781 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.781 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [category=ddl] [job="ID:304, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.782 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=629] [neededSchemaVersion=630] ["start time"=434.996Β΅s] [gotSchemaVersion=630] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=304] [version=630] [2024/05/06 10:41:14.785 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=630] ["take time"=2.009103ms] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.786 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.791 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.791 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.793 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=304] [2024/05/06 10:41:14.793 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.798 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="alter table multi-schema change"] [2024/05/06 10:41:14.799 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=304] [conn=3] [job="ID:304, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.802 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:304, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.805 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=304] [2024/05/06 10:41:14.805 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.806 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=630] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:14.809 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.809 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:14.816 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.816 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.816 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":51,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.817 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.820 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=630] [neededSchemaVersion=631] ["start time"=542.304Β΅s] [gotSchemaVersion=631] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.822 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=631] [2024/05/06 10:41:14.823 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=631] ["take time"=4.678122ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.825 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.829 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.829 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.832 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=631] [neededSchemaVersion=632] ["start time"=383.189Β΅s] [gotSchemaVersion=632] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.833 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=632] [2024/05/06 10:41:14.836 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=632] ["take time"=4.528355ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.837 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.841 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.841 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.842 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.845 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=632] [neededSchemaVersion=633] ["start time"=526.927Β΅s] [gotSchemaVersion=633] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.846 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=633] [2024/05/06 10:41:14.848 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=633] ["take time"=4.375155ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.849 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.852 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.852 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.852 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":52,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:14.853 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.855 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=633] [neededSchemaVersion=634] ["start time"=532.837Β΅s] [gotSchemaVersion=634] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.856 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=634] [2024/05/06 10:41:14.860 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=634] ["take time"=5.312586ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.861 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.866 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.866 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.867 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.870 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=634] [neededSchemaVersion=635] ["start time"=564.467Β΅s] [gotSchemaVersion=635] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.872 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=635] [2024/05/06 10:41:14.874 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=635] ["take time"=4.856375ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.875 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.879 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.879 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.880 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.883 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=635] [neededSchemaVersion=636] ["start time"=541.758Β΅s] [gotSchemaVersion=636] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:14.884 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=636] [2024/05/06 10:41:14.886 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=636] ["take time"=4.633167ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.887 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.891 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.892 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.892 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [category=ddl] [job="ID:305, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.893 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.896 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=636] [neededSchemaVersion=637] ["start time"=572.748Β΅s] [gotSchemaVersion=637] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.897 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=305] [version=637] [2024/05/06 10:41:14.899 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=637] ["take time"=4.031348ms] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.900 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.906 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.907 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.908 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=305] [2024/05/06 10:41:14.909 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.914 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=305] [conn=3] [job="ID:305, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.919 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:305, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.808 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.920 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=305] [2024/05/06 10:41:14.920 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:14.920 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=637] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:14.924 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:14.924 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:14.931 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.932 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.933 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 10:41:14.934 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.938 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.938 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:14.938 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.939 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 10:41:14.940 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.951 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.952 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.953 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.954 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.955 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=637] [neededSchemaVersion=638] ["start time"=471.787Β΅s] [gotSchemaVersion=638] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:14.957 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=638] [2024/05/06 10:41:14.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=638] ["take time"=2.118778ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.976 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.977 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:14.978 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.980 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=638] [neededSchemaVersion=639] ["start time"=530.75Β΅s] [gotSchemaVersion=639] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:14.982 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=639] [2024/05/06 10:41:14.985 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=639] ["take time"=5.395925ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:14.986 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.031 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.032 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.032 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.035 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=639] [neededSchemaVersion=640] ["start time"=561.332Β΅s] [gotSchemaVersion=640] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.036 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=640] [2024/05/06 10:41:15.039 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=640] ["take time"=5.032722ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.040 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.047 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.047 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.052 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=640] [neededSchemaVersion=641] ["start time"=555.98Β΅s] [gotSchemaVersion=641] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.057 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=641] [2024/05/06 10:41:15.059 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=641] ["take time"=4.466831ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.064 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.068 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.069 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.071 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.074 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=641] [neededSchemaVersion=642] ["start time"=467.782Β΅s] [gotSchemaVersion=642] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.076 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=642] [2024/05/06 10:41:15.078 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=642] ["take time"=4.349111ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.079 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.086 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.086 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.087 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.089 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=642] [neededSchemaVersion=643] ["start time"=564.139Β΅s] [gotSchemaVersion=643] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.091 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=643] [2024/05/06 10:41:15.093 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=643] ["take time"=4.97807ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.094 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.097 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.097 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [category=ddl] [job="ID:306, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.098 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.101 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=643] [neededSchemaVersion=644] ["start time"=401.039Β΅s] [gotSchemaVersion=644] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.102 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=306] [version=644] [2024/05/06 10:41:15.105 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=644] ["take time"=4.432406ms] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.121 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.130 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.131 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.132 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=306] [2024/05/06 10:41:15.133 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.136 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=306] [jobType="alter table multi-schema change"] [2024/05/06 10:41:15.137 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=306] [conn=3] [job="ID:306, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.138 +00:00] [INFO] [db.go:833] ["flushing memtable"] ["memtable size"=12580687] ["size of flushChan"=0] [2024/05/06 10:41:15.138 +00:00] [INFO] [db.go:937] ["flush memtable storing offset"] [fid=0] [offset=0] [2024/05/06 10:41:15.139 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:306, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:14.922 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.142 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=306] [2024/05/06 10:41:15.142 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:15.142 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=644] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:15.145 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:15.145 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:15.151 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.152 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":53,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:15.154 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=644] [neededSchemaVersion=645] ["start time"=532.871Β΅s] [gotSchemaVersion=645] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.158 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=645] [2024/05/06 10:41:15.161 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=645] ["take time"=5.430077ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.162 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.167 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.168 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.168 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.171 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=645] [neededSchemaVersion=646] ["start time"=533.269Β΅s] [gotSchemaVersion=646] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.172 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=646] [2024/05/06 10:41:15.175 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=646] ["take time"=4.748021ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.176 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.180 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.180 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.181 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.183 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=646] [neededSchemaVersion=647] ["start time"=545.379Β΅s] [gotSchemaVersion=647] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.185 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=647] [2024/05/06 10:41:15.187 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=647] ["take time"=4.920371ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.188 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.193 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.193 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":54,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:15.194 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.198 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=647] [neededSchemaVersion=648] ["start time"=573.694Β΅s] [gotSchemaVersion=648] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.200 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=648] [2024/05/06 10:41:15.202 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=648] ["take time"=4.478767ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.203 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.207 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.210 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=648] [neededSchemaVersion=649] ["start time"=497.466Β΅s] [gotSchemaVersion=649] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.212 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=649] [2024/05/06 10:41:15.215 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=649] ["take time"=5.06449ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.216 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.219 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.219 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.221 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.224 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=649] [neededSchemaVersion=650] ["start time"=578.172Β΅s] [gotSchemaVersion=650] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:15.226 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=650] [2024/05/06 10:41:15.226 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=650] ["take time"=2.323478ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.227 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.230 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [category=ddl] [job="ID:307, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.232 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.236 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=650] [neededSchemaVersion=651] ["start time"=513.623Β΅s] [gotSchemaVersion=651] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:15.237 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=307] [version=651] [2024/05/06 10:41:15.238 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=651] ["take time"=4.112842ms] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.239 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.244 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.245 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.246 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=307] [2024/05/06 10:41:15.247 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.251 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=307] [conn=3] [job="ID:307, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.253 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:307, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.254 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=307] [2024/05/06 10:41:15.254 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:15.254 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=651] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:15.256 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:15.257 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:15.267 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.267 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.267 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":31,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:15.267 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:15.268 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.271 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=651] [neededSchemaVersion=652] ["start time"=576.822Β΅s] [gotSchemaVersion=652] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.273 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=652] [2024/05/06 10:41:15.275 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=652] ["take time"=5.386987ms] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.276 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.281 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.281 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.282 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.284 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=652] [neededSchemaVersion=653] ["start time"=575.902Β΅s] [gotSchemaVersion=653] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.285 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=653] [2024/05/06 10:41:15.285 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=653] ["take time"=2.05416ms] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.293 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.294 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.296 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=653] [neededSchemaVersion=654] ["start time"=525.881Β΅s] [gotSchemaVersion=654] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.298 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=654] [2024/05/06 10:41:15.301 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=654] ["take time"=5.022322ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.302 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.308 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.308 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.309 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.309 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:15.311 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.312 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.313 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.319 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.319 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.320 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.322 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:15.323 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:15.323 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:15.323 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:15.332 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:15.332 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.333 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.333 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.339 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.339 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.340 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.351 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:15.352 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.353 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.353 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.359 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.359 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.359 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.372 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:15.372 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.373 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.373 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.377 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.377 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.377 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.389 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:15.389 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.390 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.390 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.396 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.396 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.397 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.410 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:15.410 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.411 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.411 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.418 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.419 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.471 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=64] [2024/05/06 10:41:15.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.473 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.474 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.480 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.503 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 308"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=79.984476ms] [2024/05/06 10:41:15.503 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=308] [2024/05/06 10:41:15.503 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:31,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:15.527 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1824] [2024/05/06 10:41:15.527 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.529 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.530 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.536 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.536 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1824, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.537 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=308] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:15.538 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:15.601 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.604 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=654] [neededSchemaVersion=655] ["start time"=530.125Β΅s] [gotSchemaVersion=655] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.605 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=655] [2024/05/06 10:41:15.608 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=655] ["take time"=4.994879ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.609 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.615 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.616 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882589802496, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.616 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=308] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:15.616 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.619 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=655] [neededSchemaVersion=656] ["start time"=576.143Β΅s] [gotSchemaVersion=656] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.620 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=656] [2024/05/06 10:41:15.622 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=656] ["take time"=4.084073ms] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.623 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.630 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.630 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.630 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=308] [physicalTableID=111] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff00000000001fff] [2024/05/06 10:41:15.633 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.633 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.634 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.639 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.639 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.641 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:31,StartKey:74800000000000006f5f69ffff00000000001f,EndKey:74800000000000006f5f69ffff00000000001fff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:15.642 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff00000000001f] ["end key"=74800000000000006f5f69ffff00000000001fff] [2024/05/06 10:41:15.642 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff00000000001fff] [2024/05/06 10:41:15.642 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff00000000001fff] ["current end key"=74800000000000006f5f69ffff00000000001f00] [2024/05/06 10:41:15.689 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:15.689 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.689 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.690 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.696 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.696 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.743 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff00000000001f, 74800000000000006f5f69ffff00000000001f00), jobID: 308"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff00000000001f0000] ["take time"=263.738Β΅s] [2024/05/06 10:41:15.743 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=308] [2024/05/06 10:41:15.743 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:31,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff00000000001f] [2024/05/06 10:41:15.765 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:15.765 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.766 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.766 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.773 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.773 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=308] [conn=3] [category=ddl] [job="ID:308, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.776 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:15.815 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:15.815 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=656] [neededSchemaVersion=657] ["start time"=578.801Β΅s] [gotSchemaVersion=657] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:15.820 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=308] [version=657] [2024/05/06 10:41:15.821 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=657] ["take time"=4.181637ms] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.822 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.831 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=308] [tableID=111] [indexIDs="[9223090561878065183]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:15.832 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=308] [jobType="add index"] [2024/05/06 10:41:15.832 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=308] [conn=3] [job="ID:308, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.836 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:308, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:15.255 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882673950721, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.842 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=308] [elementID=1] [startKey=74800000000000006f5f69ffff00000000001f] [endKey=74800000000000006f5f69ffff000000000020] [2024/05/06 10:41:15.843 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=308] [2024/05/06 10:41:15.843 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:15.843 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=657] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:15.846 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:15.846 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:15.852 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.854 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [category=ddl] [job="ID:309, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.854 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.855 +00:00] [WARN] [session.go:813] ["can not retry txn"] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=449574882731884546, conflictStartTS=449574882732146688, conflictCommitTS=449574882732408832, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=true] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2024/05/06 10:41:15.855 +00:00] [WARN] [session.go:829] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="[kv:9007]Write conflict, txnStartTS=449574882731884546, conflictStartTS=449574882732146688, conflictCommitTS=449574882732408832, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [2024/05/06 10:41:15.855 +00:00] [INFO] [job_table.go:465] ["handle ddl job failed"] [worker="worker 6, tp general"] [category=ddl] [error="[kv:9007]Write conflict, txnStartTS=449574882731884546, conflictStartTS=449574882732146688, conflictCommitTS=449574882732408832, key={tableID=281474976710654, tableName=mysql.tidb_ddl_job, handle=309}, originalKey=748000fffffffffffe5f728000000000000135, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [job="ID:309, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.859 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:cancelling, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.860 +00:00] [INFO] [rollingback.go:559] ["the DDL job is cancelled normally"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [error="[ddl:8214]Cancelled DDL job"] [2024/05/06 10:41:15.860 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.860 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 10:41:15.861 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.865 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollingback, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.865 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.866 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 10:41:15.867 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.874 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=309] [conn=3] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.879 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=309] [2024/05/06 10:41:15.880 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:309, Type:alter table multi-schema change, State:rollback done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.845 +0000 UTC, Err:[ddl:8214]Cancelled DDL job, ErrCount:1, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.882 +00:00] [INFO] [ddl.go:1292] ["DDL job is failed"] [category=ddl] [jobID=309] [2024/05/06 10:41:15.882 +00:00] [INFO] [tidb.go:269] ["rollbackTxn called due to ddl/autocommit failure"] [2024/05/06 10:41:15.882 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=657] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob\n\tpkg/ddl/ddl.go:1293\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).MultiSchemaChange\n\tpkg/ddl/multi_schema_change.go:66\ngithub.com/pingcap/tidb/pkg/ddl.(*ddl).AlterTable\n\tpkg/ddl/ddl_api.go:4095\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).executeAlterTable\n\tpkg/executor/ddl.go:388\ngithub.com/pingcap/tidb/pkg/executor.(*DDLExec).Next\n\tpkg/executor/ddl.go:152\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:410\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1211\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:960\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:794\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:559\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2280\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:390\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:363\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:469\ngithub.com/pingcap/tidb/pkg/ddl_test.TestCancel\n\tpkg/ddl/cancel_test.go:289\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1595\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [session="{\n \"currDBName\": \"test\",\n \"id\": 3,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2024/05/06 10:41:15.883 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=657] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:15.886 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:15.886 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:15.898 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.898 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.899 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.900 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 10:41:15.901 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.905 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.905 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:15.906 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.907 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 10:41:15.908 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.912 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.912 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.913 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.913 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=657] [neededSchemaVersion=658] ["start time"=657.31Β΅s] [gotSchemaVersion=658] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:15.927 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=658] [2024/05/06 10:41:15.928 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=658] ["take time"=12.050335ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.929 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.933 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.934 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.936 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=658] [neededSchemaVersion=659] ["start time"=580.159Β΅s] [gotSchemaVersion=659] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.938 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=659] [2024/05/06 10:41:15.940 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=659] ["take time"=4.452806ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.941 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.945 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.945 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.946 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.948 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=659] [neededSchemaVersion=660] ["start time"=541.472Β΅s] [gotSchemaVersion=660] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.949 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=660] [2024/05/06 10:41:15.954 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=660] ["take time"=7.528688ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.956 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.960 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.960 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.961 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.964 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=660] [neededSchemaVersion=661] ["start time"=544.271Β΅s] [gotSchemaVersion=661] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.965 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=661] [2024/05/06 10:41:15.969 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=661] ["take time"=6.165889ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.978 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.978 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.979 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.982 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=661] [neededSchemaVersion=662] ["start time"=522.561Β΅s] [gotSchemaVersion=662] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.984 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=662] [2024/05/06 10:41:15.984 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=662] ["take time"=2.764121ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.985 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.990 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.990 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:15.991 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:15.994 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=662] [neededSchemaVersion=663] ["start time"=587.818Β΅s] [gotSchemaVersion=663] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:15.995 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=663] [2024/05/06 10:41:15.998 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=663] ["take time"=5.169384ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.000 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.004 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.004 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [category=ddl] [job="ID:310, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.005 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.007 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=663] [neededSchemaVersion=664] ["start time"=536.062Β΅s] [gotSchemaVersion=664] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=310] [version=664] [2024/05/06 10:41:16.009 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=664] ["take time"=2.61598ms] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.010 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.014 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.015 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.016 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=310] [2024/05/06 10:41:16.017 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.022 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=310] [tableID=111] [indexIDs="[31]"] [comment="drop column: table ID"] [2024/05/06 10:41:16.023 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="alter table multi-schema change"] [2024/05/06 10:41:16.023 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=310] [conn=3] [job="ID:310, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.027 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:310, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:15.885 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.030 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=310] [2024/05/06 10:41:16.030 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:16.031 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=664] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:16.043 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:16.043 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:16.045 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=310] [elementID=1] [startKey=74800000000000006f5f69800000000000001f] [endKey=74800000000000006f5f698000000000000020] [2024/05/06 10:41:16.052 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.052 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.053 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":55,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:16.053 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.055 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=664] [neededSchemaVersion=665] ["start time"=386.463Β΅s] [gotSchemaVersion=665] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.057 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=665] [2024/05/06 10:41:16.057 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=665] ["take time"=2.021879ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.058 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.063 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.063 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.064 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.067 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=665] [neededSchemaVersion=666] ["start time"=669.203Β΅s] [gotSchemaVersion=666] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.073 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=666] [2024/05/06 10:41:16.073 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=666] ["take time"=6.953363ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.074 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.081 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.081 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.082 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.084 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=666] [neededSchemaVersion=667] ["start time"=559.906Β΅s] [gotSchemaVersion=667] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.086 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=667] [2024/05/06 10:41:16.088 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=667] ["take time"=4.538947ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.090 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.094 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.094 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.094 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":56,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:16.095 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.098 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=667] [neededSchemaVersion=668] ["start time"=568.309Β΅s] [gotSchemaVersion=668] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.099 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=668] [2024/05/06 10:41:16.106 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=668] ["take time"=8.487025ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.107 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.111 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.111 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.112 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.115 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=668] [neededSchemaVersion=669] ["start time"=533.674Β΅s] [gotSchemaVersion=669] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.116 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=669] [2024/05/06 10:41:16.116 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=669] ["take time"=2.092151ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.117 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.121 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.121 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.122 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.125 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=669] [neededSchemaVersion=670] ["start time"=550.832Β΅s] [gotSchemaVersion=670] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.126 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=670] [2024/05/06 10:41:16.128 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=670] ["take time"=4.171512ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.129 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.133 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.133 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.134 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [category=ddl] [job="ID:311, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.134 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.138 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=670] [neededSchemaVersion=671] ["start time"=586.903Β΅s] [gotSchemaVersion=671] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:16.139 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=311] [version=671] [2024/05/06 10:41:16.143 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=671] ["take time"=6.433213ms] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.144 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.150 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.151 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.152 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=311] [2024/05/06 10:41:16.153 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.157 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=311] [conn=3] [job="ID:311, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.160 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:311, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.039 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.160 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=311] [2024/05/06 10:41:16.160 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:16.161 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=671] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:16.163 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:16.163 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:16.175 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.176 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.176 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":32,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:16.176 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:16.177 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.179 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=671] [neededSchemaVersion=672] ["start time"=441.722Β΅s] [gotSchemaVersion=672] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.180 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=672] [2024/05/06 10:41:16.181 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=672] ["take time"=2.972958ms] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.182 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.189 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.190 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.192 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=672] [neededSchemaVersion=673] ["start time"=583.741Β΅s] [gotSchemaVersion=673] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.194 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=673] [2024/05/06 10:41:16.196 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=673] ["take time"=4.140146ms] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.197 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.204 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.204 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.205 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=673] [neededSchemaVersion=674] ["start time"=587.015Β΅s] [gotSchemaVersion=674] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=674] [2024/05/06 10:41:16.211 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=674] ["take time"=4.280596ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.213 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.219 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.220 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.221 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:16.223 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.224 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.224 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.231 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.231 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.231 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.233 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:16.234 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:16.234 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:16.234 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:16.244 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:16.244 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.245 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.246 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.252 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.252 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.252 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.265 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:16.265 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.266 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.266 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.276 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.276 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.276 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.293 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:16.293 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.294 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.294 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.302 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.302 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.302 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.315 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:16.315 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.316 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.317 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.326 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.326 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.326 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.381 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=64] [2024/05/06 10:41:16.381 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.382 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.383 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.390 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.390 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:64, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.390 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.420 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 312"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=85.216433ms] [2024/05/06 10:41:16.420 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=312] [2024/05/06 10:41:16.420 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:16.440 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1600] [2024/05/06 10:41:16.440 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.441 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.441 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.448 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.448 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1600, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.448 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=312] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:16.450 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:16.491 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.494 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=674] [neededSchemaVersion=675] ["start time"=604.435Β΅s] [gotSchemaVersion=675] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.495 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=675] [2024/05/06 10:41:16.501 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=675] ["take time"=7.566793ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.502 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.509 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882828615681, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.509 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=312] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:16.510 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.513 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=675] [neededSchemaVersion=676] ["start time"=599.11Β΅s] [gotSchemaVersion=676] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.514 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=676] [2024/05/06 10:41:16.516 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=676] ["take time"=4.122833ms] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.517 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.523 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.524 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.524 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=312] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000020ff] [2024/05/06 10:41:16.526 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.527 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.528 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.536 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.537 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.539 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:32,StartKey:74800000000000006f5f69ffff000000000020,EndKey:74800000000000006f5f69ffff000000000020ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:16.539 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000020] ["end key"=74800000000000006f5f69ffff000000000020ff] [2024/05/06 10:41:16.540 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000020ff] [2024/05/06 10:41:16.540 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000020ff] ["current end key"=74800000000000006f5f69ffff00000000002000] [2024/05/06 10:41:16.590 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:16.590 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.591 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.591 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.598 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.598 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.640 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000020, 74800000000000006f5f69ffff00000000002000), jobID: 312"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000200000] ["take time"=234.179Β΅s] [2024/05/06 10:41:16.640 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=312] [2024/05/06 10:41:16.640 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:32,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000020] [2024/05/06 10:41:16.655 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:16.655 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.655 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.656 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.663 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.663 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=312] [conn=3] [category=ddl] [job="ID:312, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.665 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:16.702 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:16.702 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.705 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=676] [neededSchemaVersion=677] ["start time"=586.23Β΅s] [gotSchemaVersion=677] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:16.706 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=312] [version=677] [2024/05/06 10:41:16.707 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=677] ["take time"=2.614134ms] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.708 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.714 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=312] [tableID=111] [indexIDs="[9223090561878065184]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:16.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="add index"] [2024/05/06 10:41:16.716 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=312] [conn=3] [job="ID:312, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.719 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=312] [elementID=1] [startKey=74800000000000006f5f69ffff000000000020] [endKey=74800000000000006f5f69ffff000000000021] [2024/05/06 10:41:16.722 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:312, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:16.162 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574882908307457, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.724 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=312] [2024/05/06 10:41:16.724 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:16.725 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=677] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:16.728 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:16.728 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:16.736 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.736 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.738 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 10:41:16.738 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.750 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.750 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.751 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.752 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 10:41:16.752 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.756 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.756 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.757 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.757 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.759 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=677] [neededSchemaVersion=678] ["start time"=569.334Β΅s] [gotSchemaVersion=678] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:16.761 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=678] [2024/05/06 10:41:16.763 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=678] ["take time"=4.534473ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.764 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.771 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.771 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.772 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.774 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=678] [neededSchemaVersion=679] ["start time"=527.608Β΅s] [gotSchemaVersion=679] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.775 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=679] [2024/05/06 10:41:16.782 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=679] ["take time"=8.844157ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.783 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.786 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.786 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.787 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.790 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=679] [neededSchemaVersion=680] ["start time"=569.729Β΅s] [gotSchemaVersion=680] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.791 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=680] [2024/05/06 10:41:16.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=680] ["take time"=4.828902ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.795 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.799 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.799 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.800 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.803 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=680] [neededSchemaVersion=681] ["start time"=493.99Β΅s] [gotSchemaVersion=681] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.804 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=681] [2024/05/06 10:41:16.807 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=681] ["take time"=4.911055ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.808 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.812 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.813 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.813 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.816 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=681] [neededSchemaVersion=682] ["start time"=585.37Β΅s] [gotSchemaVersion=682] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.818 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=682] [2024/05/06 10:41:16.820 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=682] ["take time"=4.083958ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.821 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.831 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.831 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.831 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.834 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=682] [neededSchemaVersion=683] ["start time"=572.846Β΅s] [gotSchemaVersion=683] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.836 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=683] [2024/05/06 10:41:16.845 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=683] ["take time"=10.99956ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.846 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.850 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.850 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [category=ddl] [job="ID:313, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:16.851 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.854 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=683] [neededSchemaVersion=684] ["start time"=515.057Β΅s] [gotSchemaVersion=684] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:16.855 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=313] [version=684] [2024/05/06 10:41:16.858 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=684] ["take time"=4.687088ms] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.859 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.866 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.867 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.869 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=313] [2024/05/06 10:41:16.870 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.879 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=313] [tableID=111] [indexIDs="[32]"] [comment="drop column: table ID"] [2024/05/06 10:41:16.885 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="alter table multi-schema change"] [2024/05/06 10:41:16.886 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=313] [conn=3] [job="ID:313, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.893 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:313, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.726 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.898 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=313] [2024/05/06 10:41:16.898 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:16.898 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=684] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:16.902 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=313] [elementID=1] [startKey=74800000000000006f5f698000000000000020] [endKey=74800000000000006f5f698000000000000021] [2024/05/06 10:41:16.902 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:16.902 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:16.910 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.910 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.910 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":57,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:16.911 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.913 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=684] [neededSchemaVersion=685] ["start time"=580.802Β΅s] [gotSchemaVersion=685] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.915 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=685] [2024/05/06 10:41:16.922 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=685] ["take time"=9.628093ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.923 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.932 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.933 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.935 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.937 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=685] [neededSchemaVersion=686] ["start time"=576.97Β΅s] [gotSchemaVersion=686] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.939 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=686] [2024/05/06 10:41:16.944 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=686] ["take time"=7.837333ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.945 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.951 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.951 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.951 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.954 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=686] [neededSchemaVersion=687] ["start time"=455.109Β΅s] [gotSchemaVersion=687] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.955 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=687] [2024/05/06 10:41:16.957 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=687] ["take time"=4.184869ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.958 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.963 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":58,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:16.963 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=687] [neededSchemaVersion=688] ["start time"=676.228Β΅s] [gotSchemaVersion=688] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.967 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=688] [2024/05/06 10:41:16.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=688] ["take time"=4.75762ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.978 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.978 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.979 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.981 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=688] [neededSchemaVersion=689] ["start time"=582.091Β΅s] [gotSchemaVersion=689] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.983 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=689] [2024/05/06 10:41:16.985 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=689] ["take time"=4.430754ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.986 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.993 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.993 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:16.994 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:16.998 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=689] [neededSchemaVersion=690] ["start time"=688.869Β΅s] [gotSchemaVersion=690] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:16.999 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=690] [2024/05/06 10:41:17.001 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=690] ["take time"=4.701179ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.003 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.008 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.009 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [category=ddl] [job="ID:314, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.010 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.013 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=690] [neededSchemaVersion=691] ["start time"=588.011Β΅s] [gotSchemaVersion=691] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:17.014 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=314] [version=691] [2024/05/06 10:41:17.017 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=691] ["take time"=4.883707ms] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.018 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.022 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.023 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.024 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=314] [2024/05/06 10:41:17.025 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.032 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=314] [conn=3] [job="ID:314, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.042 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:314, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:16.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.042 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=314] [2024/05/06 10:41:17.042 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:17.043 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=691] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:17.050 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:17.050 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:17.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.060 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.061 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":33,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:17.061 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:17.061 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.063 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=691] [neededSchemaVersion=692] ["start time"=582.712Β΅s] [gotSchemaVersion=692] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.065 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=692] [2024/05/06 10:41:17.066 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=692] ["take time"=4.042472ms] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.068 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.076 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.076 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.077 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.079 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=692] [neededSchemaVersion=693] ["start time"=579.405Β΅s] [gotSchemaVersion=693] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.081 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=693] [2024/05/06 10:41:17.081 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=693] ["take time"=2.228176ms] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.082 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.089 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.089 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.090 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.092 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=693] [neededSchemaVersion=694] ["start time"=546.469Β΅s] [gotSchemaVersion=694] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.093 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=694] [2024/05/06 10:41:17.096 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=694] ["take time"=4.32421ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.097 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.103 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.103 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.103 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.104 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.106 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.107 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.108 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.115 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.115 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.115 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.117 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:17.118 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.118 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.119 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.128 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.128 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.128 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.129 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.136 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.136 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.137 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.148 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.148 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.149 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.150 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.156 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.156 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.157 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.169 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.170 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.170 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.171 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.176 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.176 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.177 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.189 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.189 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.189 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.190 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.197 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.197 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.197 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.227 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.227 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.228 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.228 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.237 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.237 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.237 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.294 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=576] [2024/05/06 10:41:17.294 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.295 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.296 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.303 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.304 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:576, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.304 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=315] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.304 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 315"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=77.173259ms] [2024/05/06 10:41:17.304 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=315] [2024/05/06 10:41:17.304 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:33,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:17.306 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:17.348 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.350 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=694] [neededSchemaVersion=695] ["start time"=606.306Β΅s] [gotSchemaVersion=695] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.352 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=695] [2024/05/06 10:41:17.354 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=695] ["take time"=4.22088ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.355 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.362 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.362 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883060088833, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.363 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=315] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:17.363 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.366 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=695] [neededSchemaVersion=696] ["start time"=531.956Β΅s] [gotSchemaVersion=696] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.367 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=696] [2024/05/06 10:41:17.369 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=696] ["take time"=4.248505ms] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.370 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.375 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.375 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.376 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=315] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000021ff] [2024/05/06 10:41:17.378 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.380 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.380 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.387 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.387 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.390 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:33,StartKey:74800000000000006f5f69ffff000000000021,EndKey:74800000000000006f5f69ffff000000000021ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:17.391 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000021] ["end key"=74800000000000006f5f69ffff000000000021ff] [2024/05/06 10:41:17.391 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000021ff] [2024/05/06 10:41:17.391 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000021ff] ["current end key"=74800000000000006f5f69ffff00000000002100] [2024/05/06 10:41:17.439 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:17.439 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.440 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.440 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.452 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.452 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.493 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000021, 74800000000000006f5f69ffff00000000002100), jobID: 315"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000210000] ["take time"=282.217Β΅s] [2024/05/06 10:41:17.493 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=315] [2024/05/06 10:41:17.493 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:33,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000021] [2024/05/06 10:41:17.511 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:17.512 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.512 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.513 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.522 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.522 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=315] [conn=3] [category=ddl] [job="ID:315, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.524 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:17.565 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:17.565 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.568 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=696] [neededSchemaVersion=697] ["start time"=616.153Β΅s] [gotSchemaVersion=697] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.573 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=315] [version=697] [2024/05/06 10:41:17.573 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=697] ["take time"=5.382287ms] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.574 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.582 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=315] [tableID=111] [indexIDs="[9223090561878065185]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:17.583 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="add index"] [2024/05/06 10:41:17.584 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=315] [conn=3] [job="ID:315, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.587 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=315] [elementID=1] [startKey=74800000000000006f5f69ffff000000000021] [endKey=74800000000000006f5f69ffff000000000022] [2024/05/06 10:41:17.588 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:315, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883131654144, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.590 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=315] [2024/05/06 10:41:17.590 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:17.591 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=697] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:17.593 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:17.593 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:17.601 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.601 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.602 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.603 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 10:41:17.604 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.608 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.608 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.608 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.609 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 10:41:17.609 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.614 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.614 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.622 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.623 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.625 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=697] [neededSchemaVersion=698] ["start time"=384.526Β΅s] [gotSchemaVersion=698] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:17.626 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=698] [2024/05/06 10:41:17.627 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=698] ["take time"=2.790544ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.628 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.632 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.632 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.633 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.635 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=698] [neededSchemaVersion=699] ["start time"=574.946Β΅s] [gotSchemaVersion=699] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.637 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=699] [2024/05/06 10:41:17.639 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=699] ["take time"=4.74464ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.644 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.645 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.647 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=699] [neededSchemaVersion=700] ["start time"=569.53Β΅s] [gotSchemaVersion=700] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.649 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=700] [2024/05/06 10:41:17.652 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=700] ["take time"=5.072902ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.653 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.656 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.656 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.657 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.660 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=700] [neededSchemaVersion=701] ["start time"=478.969Β΅s] [gotSchemaVersion=701] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.661 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=701] [2024/05/06 10:41:17.661 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=701] ["take time"=2.026141ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.662 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.666 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.666 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.667 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.670 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=701] [neededSchemaVersion=702] ["start time"=477.32Β΅s] [gotSchemaVersion=702] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.672 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=702] [2024/05/06 10:41:17.673 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=702] ["take time"=4.114148ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.674 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.681 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.681 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.682 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.685 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=702] [neededSchemaVersion=703] ["start time"=559.604Β΅s] [gotSchemaVersion=703] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.686 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=703] [2024/05/06 10:41:17.693 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=703] ["take time"=8.541092ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.694 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.698 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.698 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [category=ddl] [job="ID:316, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.703 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.712 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=703] [neededSchemaVersion=704] ["start time"=572.122Β΅s] [gotSchemaVersion=704] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:17.713 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=316] [version=704] [2024/05/06 10:41:17.722 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=704] ["take time"=11.124333ms] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.724 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.731 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.731 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.732 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=316] [2024/05/06 10:41:17.733 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.736 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=316] [tableID=111] [indexIDs="[33]"] [comment="drop column: table ID"] [2024/05/06 10:41:17.737 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="alter table multi-schema change"] [2024/05/06 10:41:17.738 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=316] [conn=3] [job="ID:316, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.740 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:316, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.592 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.742 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=316] [2024/05/06 10:41:17.742 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:17.743 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=704] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:17.745 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:17.745 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:17.754 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=316] [elementID=1] [startKey=74800000000000006f5f698000000000000021] [endKey=74800000000000006f5f698000000000000022] [2024/05/06 10:41:17.754 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.754 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.754 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":59,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:17.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.757 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=704] [neededSchemaVersion=705] ["start time"=554.506Β΅s] [gotSchemaVersion=705] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.758 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=705] [2024/05/06 10:41:17.760 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=705] ["take time"=4.309236ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.761 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.766 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.766 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.767 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.770 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=705] [neededSchemaVersion=706] ["start time"=596.736Β΅s] [gotSchemaVersion=706] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.772 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=706] [2024/05/06 10:41:17.774 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=706] ["take time"=4.560644ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.776 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.780 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.780 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.781 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.784 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=706] [neededSchemaVersion=707] ["start time"=569.886Β΅s] [gotSchemaVersion=707] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.785 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=707] [2024/05/06 10:41:17.789 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=707] ["take time"=6.156066ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.790 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.797 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.797 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.797 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":60,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:17.798 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.801 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=707] [neededSchemaVersion=708] ["start time"=597.482Β΅s] [gotSchemaVersion=708] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.802 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=708] [2024/05/06 10:41:17.808 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=708] ["take time"=8.142541ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.809 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.814 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.814 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.815 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=708] [neededSchemaVersion=709] ["start time"=557.165Β΅s] [gotSchemaVersion=709] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.819 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=709] [2024/05/06 10:41:17.821 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=709] ["take time"=4.052927ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.822 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.827 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.827 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:17.828 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.830 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=709] [neededSchemaVersion=710] ["start time"=582.492Β΅s] [gotSchemaVersion=710] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:17.832 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=710] [2024/05/06 10:41:17.834 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=710] ["take time"=4.271259ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.835 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.838 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.839 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.840 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [category=ddl] [job="ID:317, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:17.840 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.842 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=710] [neededSchemaVersion=711] ["start time"=524.986Β΅s] [gotSchemaVersion=711] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:17.844 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=317] [version=711] [2024/05/06 10:41:17.844 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=711] ["take time"=2.021078ms] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.845 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.848 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.849 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.850 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=317] [2024/05/06 10:41:17.851 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.854 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=317] [conn=3] [job="ID:317, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.857 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:317, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.859 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=317] [2024/05/06 10:41:17.859 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:17.860 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=711] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:17.864 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:17.865 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:17.881 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.881 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.881 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":34,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:17.882 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:17.883 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.885 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=711] [neededSchemaVersion=712] ["start time"=572.096Β΅s] [gotSchemaVersion=712] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.889 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=712] [2024/05/06 10:41:17.891 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=712] ["take time"=6.128962ms] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.892 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.899 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.899 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.900 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.902 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=712] [neededSchemaVersion=713] ["start time"=406.688Β΅s] [gotSchemaVersion=713] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.903 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=713] [2024/05/06 10:41:17.904 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=713] ["take time"=2.132532ms] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.905 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.911 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.912 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.912 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.915 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=713] [neededSchemaVersion=714] ["start time"=578.124Β΅s] [gotSchemaVersion=714] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:17.916 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=714] [2024/05/06 10:41:17.921 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=714] ["take time"=6.883945ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.922 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.926 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.926 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.926 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.927 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.929 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.930 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:17.930 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.936 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.936 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.936 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.938 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:17.939 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.939 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.939 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:17.948 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.949 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.949 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:17.950 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.954 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.954 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.955 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.967 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.967 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.968 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:17.969 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.976 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.976 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.976 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:17.989 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:17.989 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.990 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:17.990 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.995 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.996 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:17.996 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.008 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.008 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.009 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.010 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.015 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.015 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.016 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.028 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.028 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.029 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.029 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.035 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.036 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.086 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192] [2024/05/06 10:41:18.086 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.087 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.087 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.092 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.092 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.092 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.108 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 318"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=65.963947ms] [2024/05/06 10:41:18.108 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=318] [2024/05/06 10:41:18.108 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:34,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:18.142 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1888] [2024/05/06 10:41:18.142 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1888, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.143 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.144 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1888, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.149 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1888, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.149 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1888, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.149 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=318] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.151 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:18.190 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.193 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=714] [neededSchemaVersion=715] ["start time"=597.018Β΅s] [gotSchemaVersion=715] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.194 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=715] [2024/05/06 10:41:18.197 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=715] ["take time"=5.0409ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.198 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.204 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.204 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883275833346, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.204 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=318] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:18.205 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.207 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=715] [neededSchemaVersion=716] ["start time"=581.333Β΅s] [gotSchemaVersion=716] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.208 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=716] [2024/05/06 10:41:18.213 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=716] ["take time"=6.680665ms] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.214 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.221 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.221 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.222 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=318] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000022ff] [2024/05/06 10:41:18.225 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.226 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.226 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.232 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.232 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.235 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:34,StartKey:74800000000000006f5f69ffff000000000022,EndKey:74800000000000006f5f69ffff000000000022ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:18.236 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000022] ["end key"=74800000000000006f5f69ffff000000000022ff] [2024/05/06 10:41:18.236 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000022ff] [2024/05/06 10:41:18.236 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000022ff] ["current end key"=74800000000000006f5f69ffff00000000002200] [2024/05/06 10:41:18.287 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:18.287 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.287 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.288 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.294 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.294 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.335 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:18.335 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.336 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.336 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.336 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000022, 74800000000000006f5f69ffff00000000002200), jobID: 318"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000220000] ["take time"=197.742Β΅s] [2024/05/06 10:41:18.336 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=318] [2024/05/06 10:41:18.336 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:34,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000022] [2024/05/06 10:41:18.342 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.342 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=318] [conn=3] [category=ddl] [job="ID:318, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.344 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:18.375 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:18.375 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.378 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=716] [neededSchemaVersion=717] ["start time"=572.751Β΅s] [gotSchemaVersion=717] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.380 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=318] [version=717] [2024/05/06 10:41:18.382 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=717] ["take time"=4.635367ms] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.383 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.389 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=318] [tableID=111] [indexIDs="[9223090561878065186]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:18.390 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="add index"] [2024/05/06 10:41:18.390 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=318] [conn=3] [job="ID:318, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.393 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=318] [elementID=1] [startKey=74800000000000006f5f69ffff000000000022] [endKey=74800000000000006f5f69ffff000000000023] [2024/05/06 10:41:18.393 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:318, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:17.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883353427968, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.396 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=318] [2024/05/06 10:41:18.396 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:18.396 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=717] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:18.399 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:18.399 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:18.412 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.412 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.412 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.413 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 10:41:18.414 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.418 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.418 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.419 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.420 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 10:41:18.420 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.423 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.425 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.427 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=717] [neededSchemaVersion=718] ["start time"=514.39Β΅s] [gotSchemaVersion=718] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:18.428 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=718] [2024/05/06 10:41:18.429 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=718] ["take time"=2.226691ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.429 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.433 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.433 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.433 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.435 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=718] [neededSchemaVersion=719] ["start time"=527.52Β΅s] [gotSchemaVersion=719] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.437 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=719] [2024/05/06 10:41:18.442 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=719] ["take time"=6.91001ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.443 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.447 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.447 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.448 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.450 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=719] [neededSchemaVersion=720] ["start time"=546.003Β΅s] [gotSchemaVersion=720] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.451 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=720] [2024/05/06 10:41:18.455 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=720] ["take time"=5.647008ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.456 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.460 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.460 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.461 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.463 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=720] [neededSchemaVersion=721] ["start time"=482.31Β΅s] [gotSchemaVersion=721] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.464 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=721] [2024/05/06 10:41:18.465 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=721] ["take time"=2.277346ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.465 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.470 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.470 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.473 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=721] [neededSchemaVersion=722] ["start time"=508.778Β΅s] [gotSchemaVersion=722] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.474 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=722] [2024/05/06 10:41:18.475 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=722] ["take time"=2.875992ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.476 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.480 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.480 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.481 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.483 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=722] [neededSchemaVersion=723] ["start time"=381.178Β΅s] [gotSchemaVersion=723] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.484 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=723] [2024/05/06 10:41:18.485 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=723] ["take time"=2.459997ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.486 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.491 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.491 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [category=ddl] [job="ID:319, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.492 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.494 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=723] [neededSchemaVersion=724] ["start time"=510.517Β΅s] [gotSchemaVersion=724] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:18.495 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=319] [version=724] [2024/05/06 10:41:18.496 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=724] ["take time"=2.010296ms] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.496 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.501 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.501 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.502 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=319] [2024/05/06 10:41:18.503 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.506 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=319] [tableID=111] [indexIDs="[34]"] [comment="drop column: table ID"] [2024/05/06 10:41:18.507 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=319] [jobType="alter table multi-schema change"] [2024/05/06 10:41:18.507 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=319] [conn=3] [job="ID:319, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.510 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:319, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.515 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=319] [2024/05/06 10:41:18.516 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:18.516 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=724] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:18.520 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:18.520 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:18.525 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=319] [elementID=1] [startKey=74800000000000006f5f698000000000000022] [endKey=74800000000000006f5f698000000000000023] [2024/05/06 10:41:18.527 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.527 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.527 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":61,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:18.528 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.530 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=724] [neededSchemaVersion=725] ["start time"=430.417Β΅s] [gotSchemaVersion=725] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.531 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=725] [2024/05/06 10:41:18.532 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=725] ["take time"=2.052271ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.532 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.536 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.536 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.537 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.540 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=725] [neededSchemaVersion=726] ["start time"=520.248Β΅s] [gotSchemaVersion=726] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.541 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=726] [2024/05/06 10:41:18.541 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=726] ["take time"=2.043237ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.542 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.546 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.546 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.547 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.549 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=726] [neededSchemaVersion=727] ["start time"=487.684Β΅s] [gotSchemaVersion=727] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.551 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=727] [2024/05/06 10:41:18.556 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=727] ["take time"=6.937537ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.557 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.562 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.562 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.562 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":62,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:18.563 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.565 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=727] [neededSchemaVersion=728] ["start time"=521.158Β΅s] [gotSchemaVersion=728] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.566 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=728] [2024/05/06 10:41:18.567 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=728] ["take time"=3.126298ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.572 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.572 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.573 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.575 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=728] [neededSchemaVersion=729] ["start time"=569.075Β΅s] [gotSchemaVersion=729] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.576 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=729] [2024/05/06 10:41:18.577 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=729] ["take time"=2.930256ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.578 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.582 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.582 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:18.583 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.585 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=729] [neededSchemaVersion=730] ["start time"=514.382Β΅s] [gotSchemaVersion=730] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:18.586 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=730] [2024/05/06 10:41:18.586 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=730] ["take time"=2.092852ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.587 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.591 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.592 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.592 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [category=ddl] [job="ID:320, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:18.593 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.595 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=730] [neededSchemaVersion=731] ["start time"=507.092Β΅s] [gotSchemaVersion=731] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:18.597 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=320] [version=731] [2024/05/06 10:41:18.597 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=731] ["take time"=2.024225ms] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.597 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.602 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.602 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.607 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=320] [2024/05/06 10:41:18.608 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.612 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=320] [conn=3] [job="ID:320, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.615 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:320, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.518 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.615 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=320] [2024/05/06 10:41:18.616 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:18.616 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=731] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:18.618 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:18.618 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:18.626 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.626 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.626 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":35,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:18.626 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:18.627 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.628 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=731] [neededSchemaVersion=732] ["start time"=379.766Β΅s] [gotSchemaVersion=732] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.629 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=732] [2024/05/06 10:41:18.630 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=732] ["take time"=2.009579ms] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.631 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.635 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.635 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.636 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.638 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=732] [neededSchemaVersion=733] ["start time"=598.865Β΅s] [gotSchemaVersion=733] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.639 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=733] [2024/05/06 10:41:18.639 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=733] ["take time"=2.243514ms] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.644 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.644 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.644 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.646 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=733] [neededSchemaVersion=734] ["start time"=535.079Β΅s] [gotSchemaVersion=734] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.648 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=734] [2024/05/06 10:41:18.648 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=734] ["take time"=2.015971ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.649 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.654 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.654 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.654 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.655 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:18.657 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.658 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.659 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.666 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.666 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.666 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.668 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:18.669 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:18.669 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:18.669 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:18.679 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.679 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.680 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.686 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.687 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.687 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.699 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.699 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.700 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.701 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.707 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.707 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.708 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.720 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.720 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.720 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.721 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.724 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.724 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.724 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.736 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.736 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.737 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.737 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.743 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.743 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.743 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.755 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:18.755 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.756 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.756 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.762 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.762 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.763 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.819 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=96] [2024/05/06 10:41:18.819 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.820 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.820 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.833 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.834 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:96, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.834 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.846 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 321"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=75.644618ms] [2024/05/06 10:41:18.846 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=321] [2024/05/06 10:41:18.846 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:35,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:18.875 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2048] [2024/05/06 10:41:18.875 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2048, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.877 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.877 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2048, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.882 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2048, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.882 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2048, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.883 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=321] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:18.885 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:18.914 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.916 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=734] [neededSchemaVersion=735] ["start time"=355.956Β΅s] [gotSchemaVersion=735] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.917 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=735] [2024/05/06 10:41:18.917 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=735] ["take time"=2.21467ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.918 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.922 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.922 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883466674177, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.922 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=321] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:18.923 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.924 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=735] [neededSchemaVersion=736] ["start time"=346.292Β΅s] [gotSchemaVersion=736] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:18.925 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=736] [2024/05/06 10:41:18.926 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=736] ["take time"=2.2777ms] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.927 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.931 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.931 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.931 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=321] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000023ff] [2024/05/06 10:41:18.933 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.934 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.934 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.940 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.940 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.942 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:35,StartKey:74800000000000006f5f69ffff000000000023,EndKey:74800000000000006f5f69ffff000000000023ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:18.942 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000023] ["end key"=74800000000000006f5f69ffff000000000023ff] [2024/05/06 10:41:18.942 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000023ff] [2024/05/06 10:41:18.943 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000023ff] ["current end key"=74800000000000006f5f69ffff00000000002300] [2024/05/06 10:41:18.986 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:18.986 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.987 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:18.987 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.994 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:18.994 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.036 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:19.036 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.036 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=321] [2024/05/06 10:41:19.037 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.041 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.041 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=321] [conn=3] [category=ddl] [job="ID:321, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.043 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000023, 74800000000000006f5f69ffff00000000002300), jobID: 321"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000230000] ["take time"=136.508Β΅s] [2024/05/06 10:41:19.043 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=321] [2024/05/06 10:41:19.043 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:35,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000023] [2024/05/06 10:41:19.043 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:19.072 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:19.072 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.075 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=736] [neededSchemaVersion=737] ["start time"=378.28Β΅s] [gotSchemaVersion=737] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.076 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=321] [version=737] [2024/05/06 10:41:19.077 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=737] ["take time"=2.537682ms] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.078 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.084 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=321] [tableID=111] [indexIDs="[9223090561878065187]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:19.085 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="add index"] [2024/05/06 10:41:19.085 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=321] [conn=3] [job="ID:321, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.088 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=321] [elementID=1] [startKey=74800000000000006f5f69ffff000000000023] [endKey=74800000000000006f5f69ffff000000000024] [2024/05/06 10:41:19.088 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:321, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:18.617 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883539288065, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.092 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=321] [2024/05/06 10:41:19.092 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:19.092 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=737] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:19.095 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:19.095 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:19.102 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.102 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.103 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.104 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 10:41:19.104 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.108 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.108 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.109 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.110 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 10:41:19.111 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.115 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.115 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.116 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.116 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.119 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=737] [neededSchemaVersion=738] ["start time"=562.802Β΅s] [gotSchemaVersion=738] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:19.120 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=738] [2024/05/06 10:41:19.121 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=738] ["take time"=2.757966ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.122 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.129 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.129 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.131 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.133 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=738] [neededSchemaVersion=739] ["start time"=563.979Β΅s] [gotSchemaVersion=739] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.135 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=739] [2024/05/06 10:41:19.140 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=739] ["take time"=7.232624ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.141 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.144 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.144 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.145 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.147 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=739] [neededSchemaVersion=740] ["start time"=417.015Β΅s] [gotSchemaVersion=740] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.148 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=740] [2024/05/06 10:41:19.149 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=740] ["take time"=2.341424ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.149 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.154 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.154 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.155 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.157 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=740] [neededSchemaVersion=741] ["start time"=542.019Β΅s] [gotSchemaVersion=741] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.159 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=741] [2024/05/06 10:41:19.163 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=741] ["take time"=6.802885ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.164 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.169 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.169 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.170 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.173 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=741] [neededSchemaVersion=742] ["start time"=475.773Β΅s] [gotSchemaVersion=742] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.174 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=742] [2024/05/06 10:41:19.174 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=742] ["take time"=2.025145ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.175 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.178 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.178 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.179 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.182 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=742] [neededSchemaVersion=743] ["start time"=491.01Β΅s] [gotSchemaVersion=743] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.183 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=743] [2024/05/06 10:41:19.183 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=743] ["take time"=2.036804ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.184 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.189 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.189 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [category=ddl] [job="ID:322, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.190 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.194 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=743] [neededSchemaVersion=744] ["start time"=558.654Β΅s] [gotSchemaVersion=744] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.196 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=322] [version=744] [2024/05/06 10:41:19.198 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=744] ["take time"=4.413867ms] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.199 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.202 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.202 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.203 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=322] [2024/05/06 10:41:19.204 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.208 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=322] [tableID=111] [indexIDs="[35]"] [comment="drop column: table ID"] [2024/05/06 10:41:19.209 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=322] [jobType="alter table multi-schema change"] [2024/05/06 10:41:19.209 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=322] [conn=3] [job="ID:322, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.212 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:322, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.215 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=322] [2024/05/06 10:41:19.215 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:19.216 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=744] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:19.220 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:19.220 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:19.222 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=322] [elementID=1] [startKey=74800000000000006f5f698000000000000023] [endKey=74800000000000006f5f698000000000000024] [2024/05/06 10:41:19.228 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.228 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.228 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":63,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:19.229 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.231 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=744] [neededSchemaVersion=745] ["start time"=517.141Β΅s] [gotSchemaVersion=745] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.232 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=745] [2024/05/06 10:41:19.233 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=745] ["take time"=2.827253ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.236 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.240 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.240 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.241 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.243 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=745] [neededSchemaVersion=746] ["start time"=510.572Β΅s] [gotSchemaVersion=746] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.245 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=746] [2024/05/06 10:41:19.249 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=746] ["take time"=6.740947ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.251 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.254 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.254 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.255 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.257 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=746] [neededSchemaVersion=747] ["start time"=501.05Β΅s] [gotSchemaVersion=747] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.259 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=747] [2024/05/06 10:41:19.263 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=747] ["take time"=6.405452ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.264 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.269 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.269 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.269 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":64,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:19.270 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.272 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=747] [neededSchemaVersion=748] ["start time"=574.051Β΅s] [gotSchemaVersion=748] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.274 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=748] [2024/05/06 10:41:19.276 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=748] ["take time"=4.910087ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.278 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.281 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.281 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.282 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.285 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=748] [neededSchemaVersion=749] ["start time"=532.946Β΅s] [gotSchemaVersion=749] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.286 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=749] [2024/05/06 10:41:19.288 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=749] ["take time"=4.348107ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.290 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.296 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.296 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.299 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.302 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=749] [neededSchemaVersion=750] ["start time"=596.618Β΅s] [gotSchemaVersion=750] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:19.304 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=750] [2024/05/06 10:41:19.306 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=750] ["take time"=4.078105ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.307 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.311 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.311 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.312 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [category=ddl] [job="ID:323, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.312 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.315 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=750] [neededSchemaVersion=751] ["start time"=565.914Β΅s] [gotSchemaVersion=751] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:19.317 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=323] [version=751] [2024/05/06 10:41:19.319 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=751] ["take time"=4.21956ms] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.320 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.324 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.325 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.327 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=323] [2024/05/06 10:41:19.328 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.333 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=323] [conn=3] [job="ID:323, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.338 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:323, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.218 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.339 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=323] [2024/05/06 10:41:19.339 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:19.340 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=751] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:19.347 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:19.347 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:19.355 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.355 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.355 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":36,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:19.356 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:19.356 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.358 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=751] [neededSchemaVersion=752] ["start time"=498.786Β΅s] [gotSchemaVersion=752] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.360 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=752] [2024/05/06 10:41:19.361 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=752] ["take time"=3.103912ms] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.364 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.370 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.370 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.372 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.374 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=752] [neededSchemaVersion=753] ["start time"=557.618Β΅s] [gotSchemaVersion=753] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.375 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=753] [2024/05/06 10:41:19.375 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=753] ["take time"=2.034748ms] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.376 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.382 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.382 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.383 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.385 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=753] [neededSchemaVersion=754] ["start time"=492.181Β΅s] [gotSchemaVersion=754] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.386 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=754] [2024/05/06 10:41:19.390 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=754] ["take time"=5.693685ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.391 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.397 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.397 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.397 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.398 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:19.400 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.401 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.401 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.407 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.407 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.408 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.409 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:19.411 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:19.411 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:19.411 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:19.419 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:19.420 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.420 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.421 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.424 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.424 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.425 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.437 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:19.437 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.437 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.438 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.444 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.444 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.444 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.456 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:19.456 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.457 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.457 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.464 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.464 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.464 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.477 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:19.477 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.477 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.478 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.488 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.488 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.489 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.501 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:19.502 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.502 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.503 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.509 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.510 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.510 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.566 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=192] [2024/05/06 10:41:19.566 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.567 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.568 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.573 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.573 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:192, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.574 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.591 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 324"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=80.430159ms] [2024/05/06 10:41:19.591 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=324] [2024/05/06 10:41:19.592 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:36,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:19.639 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=1856] [2024/05/06 10:41:19.639 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.640 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.640 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.647 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.647 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:1856, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.647 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=324] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:19.649 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:19.701 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.709 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=754] [neededSchemaVersion=755] ["start time"=565.231Β΅s] [gotSchemaVersion=755] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.711 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=755] [2024/05/06 10:41:19.715 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=755] ["take time"=6.23993ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.716 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.723 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.723 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883661447168, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.723 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=324] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:19.725 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.728 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=755] [neededSchemaVersion=756] ["start time"=599.583Β΅s] [gotSchemaVersion=756] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.729 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=756] [2024/05/06 10:41:19.729 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=756] ["take time"=2.425269ms] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.730 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.736 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.736 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.736 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=324] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000024ff] [2024/05/06 10:41:19.739 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.740 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.740 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.746 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.746 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.747 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:36,StartKey:74800000000000006f5f69ffff000000000024,EndKey:74800000000000006f5f69ffff000000000024ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:19.748 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000024] ["end key"=74800000000000006f5f69ffff000000000024ff] [2024/05/06 10:41:19.748 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000024ff] [2024/05/06 10:41:19.748 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000024ff] ["current end key"=74800000000000006f5f69ffff00000000002400] [2024/05/06 10:41:19.797 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:19.797 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.797 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.798 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.803 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.803 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.849 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000024, 74800000000000006f5f69ffff00000000002400), jobID: 324"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000240000] ["take time"=228.027Β΅s] [2024/05/06 10:41:19.849 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=324] [2024/05/06 10:41:19.849 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:36,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000024] [2024/05/06 10:41:19.872 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:19.872 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.872 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.873 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.877 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.877 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=324] [conn=3] [category=ddl] [job="ID:324, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.879 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:19.919 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:19.919 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.922 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=756] [neededSchemaVersion=757] ["start time"=539.259Β΅s] [gotSchemaVersion=757] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:19.923 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=324] [version=757] [2024/05/06 10:41:19.924 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=757] ["take time"=2.162808ms] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.924 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.930 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=324] [tableID=111] [indexIDs="[9223090561878065188]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:19.931 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=324] [jobType="add index"] [2024/05/06 10:41:19.931 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=324] [conn=3] [job="ID:324, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.934 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=324] [elementID=1] [startKey=74800000000000006f5f69ffff000000000024] [endKey=74800000000000006f5f69ffff000000000025] [2024/05/06 10:41:19.935 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:324, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:19.345 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883750313985, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.939 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=324] [2024/05/06 10:41:19.939 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:19.940 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=757] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:19.943 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:19.943 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:19.949 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.949 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.950 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.951 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 10:41:19.951 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.956 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.956 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:19.957 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.958 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 10:41:19.959 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.963 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.963 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.964 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.964 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.966 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=757] [neededSchemaVersion=758] ["start time"=634.932Β΅s] [gotSchemaVersion=758] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:19.968 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=758] [2024/05/06 10:41:19.970 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=758] ["take time"=4.285838ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.971 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.977 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.977 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.978 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.980 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=758] [neededSchemaVersion=759] ["start time"=453.556Β΅s] [gotSchemaVersion=759] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.982 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=759] [2024/05/06 10:41:19.983 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=759] ["take time"=2.689261ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.983 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.987 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.987 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.988 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.990 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=759] [neededSchemaVersion=760] ["start time"=495.094Β΅s] [gotSchemaVersion=760] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:19.991 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=760] [2024/05/06 10:41:19.991 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=760] ["take time"=2.049149ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.993 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.998 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:19.998 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:19.999 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.001 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=760] [neededSchemaVersion=761] ["start time"=477.805Β΅s] [gotSchemaVersion=761] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.003 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=761] [2024/05/06 10:41:20.006 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=761] ["take time"=4.803367ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.007 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.011 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.011 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.012 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.014 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=761] [neededSchemaVersion=762] ["start time"=526.214Β΅s] [gotSchemaVersion=762] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.016 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=762] [2024/05/06 10:41:20.018 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=762] ["take time"=4.753643ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.019 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.036 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.036 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.037 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.040 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=762] [neededSchemaVersion=763] ["start time"=519.172Β΅s] [gotSchemaVersion=763] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.042 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=763] [2024/05/06 10:41:20.044 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=763] ["take time"=4.50691ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.045 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.050 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.050 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [category=ddl] [job="ID:325, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.051 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.054 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=763] [neededSchemaVersion=764] ["start time"=441.145Β΅s] [gotSchemaVersion=764] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.055 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=325] [version=764] [2024/05/06 10:41:20.055 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=764] ["take time"=2.245603ms] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.056 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.060 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.060 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.061 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=325] [2024/05/06 10:41:20.062 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.066 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=325] [tableID=111] [indexIDs="[36]"] [comment="drop column: table ID"] [2024/05/06 10:41:20.067 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=325] [jobType="alter table multi-schema change"] [2024/05/06 10:41:20.068 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=325] [conn=3] [job="ID:325, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.072 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:325, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:19.942 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.074 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=325] [2024/05/06 10:41:20.074 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:20.075 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=764] [cur_db=test] [sql="alter table t add column c41 bigint, add column c42 bigint"] [user=] [2024/05/06 10:41:20.078 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:20.078 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add column c41 bigint, add column c42 bigint"] [2024/05/06 10:41:20.083 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.083 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.083 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":65,\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:20.084 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=325] [elementID=1] [startKey=74800000000000006f5f698000000000000024] [endKey=74800000000000006f5f698000000000000025] [2024/05/06 10:41:20.085 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.087 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=764] [neededSchemaVersion=765] ["start time"=540.642Β΅s] [gotSchemaVersion=765] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.088 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=765] [2024/05/06 10:41:20.089 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=765] ["take time"=2.183112ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.089 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.093 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.093 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.094 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.096 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=765] [neededSchemaVersion=766] ["start time"=397.043Β΅s] [gotSchemaVersion=766] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.098 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=766] [2024/05/06 10:41:20.098 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=766] ["take time"=2.0852ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.099 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.104 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.104 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.107 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.110 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=766] [neededSchemaVersion=767] ["start time"=586.688Β΅s] [gotSchemaVersion=767] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.112 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=767] [2024/05/06 10:41:20.114 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=767] ["take time"=4.479867ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.115 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.120 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.120 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.120 +00:00] [INFO] [column.go:135] ["run add column job"] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:4, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [columnInfo="{\"id\":66,\"name\":{\"O\":\"c42\",\"L\":\"c42\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2024/05/06 10:41:20.121 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.123 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=767] [neededSchemaVersion=768] ["start time"=465.797Β΅s] [gotSchemaVersion=768] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.124 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=768] [2024/05/06 10:41:20.124 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=768] ["take time"=2.113663ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.125 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.128 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.128 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.129 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.132 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=768] [neededSchemaVersion=769] ["start time"=595.613Β΅s] [gotSchemaVersion=769] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.133 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=769] [2024/05/06 10:41:20.136 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=769] ["take time"=4.70411ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.137 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.141 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.141 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.142 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.144 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=769] [neededSchemaVersion=770] ["start time"=608.288Β΅s] [gotSchemaVersion=770] [phyTblIDs="[111]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2024/05/06 10:41:20.145 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=770] [2024/05/06 10:41:20.146 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=770] ["take time"=2.366074ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.147 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.150 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.150 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.151 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [category=ddl] [job="ID:326, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.151 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.154 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=770] [neededSchemaVersion=771] ["start time"=554.723Β΅s] [gotSchemaVersion=771] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:20.155 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=326] [version=771] [2024/05/06 10:41:20.158 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=771] ["take time"=4.930025ms] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.159 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.163 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.164 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.166 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=326] [2024/05/06 10:41:20.167 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.170 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=326] [conn=3] [job="ID:326, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.173 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:326, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.076 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.174 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=326] [2024/05/06 10:41:20.174 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:20.174 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=771] [cur_db=test] [sql="alter table t add index drop_columns_idx(c41)"] [user=] [2024/05/06 10:41:20.177 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:20.177 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t add index drop_columns_idx(c41)"] [2024/05/06 10:41:20.182 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.182 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.183 +00:00] [INFO] [index.go:654] ["run add index job"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [indexInfo="{\"id\":37,\"idx_name\":{\"O\":\"drop_columns_idx\",\"L\":\"drop_columns_idx\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"c41\",\"L\":\"c41\"},\"offset\":5,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false}"] [2024/05/06 10:41:20.183 +00:00] [INFO] [index.go:817] ["fallback to txn-merge backfill process"] [category=ddl] ["lightning env initialized"=false] [2024/05/06 10:41:20.183 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.185 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=771] [neededSchemaVersion=772] ["start time"=441.857Β΅s] [gotSchemaVersion=772] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.186 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=772] [2024/05/06 10:41:20.187 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=772] ["take time"=2.045224ms] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.188 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.193 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.193 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.194 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.196 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=772] [neededSchemaVersion=773] ["start time"=605.343Β΅s] [gotSchemaVersion=773] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.198 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=773] [2024/05/06 10:41:20.201 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=773] ["take time"=4.978986ms] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.201 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.207 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.207 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.208 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.210 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=773] [neededSchemaVersion=774] ["start time"=510.199Β΅s] [gotSchemaVersion=774] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.212 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=774] [2024/05/06 10:41:20.214 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=774] ["take time"=4.18481ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.215 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.220 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.220 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.221 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.222 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=327] [physicalTableID=111] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:20.224 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.224 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.225 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.230 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.230 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.231 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.232 +00:00] [INFO] [index.go:1931] ["start to add table index"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:37,StartKey:74800000000000006f5f728000000000000001,EndKey:74800000000000006f5f72800000000000080100,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:20.233 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f728000000000000001] ["end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:20.233 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f728000000000000001] [endKey=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:20.233 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f72800000000000080100] ["current end key"=74800000000000006f5f72800000000000080100] [2024/05/06 10:41:20.243 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:20.243 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.244 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.244 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.251 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.251 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.251 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.264 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:20.264 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.265 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.265 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.273 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.273 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.273 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.285 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:20.285 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.286 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.286 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.293 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.293 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.293 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.308 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:20.308 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.309 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.309 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.316 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.316 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.316 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.330 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=0] [2024/05/06 10:41:20.330 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.331 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.332 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.337 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.337 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.338 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.397 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=384] [2024/05/06 10:41:20.398 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:384, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.399 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.400 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:384, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.400 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp add index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f728000000000000001, 74800000000000006f5f72800000000000080100), jobID: 327"] ["added count"=2049] ["scan count"=2049] ["next key"=74800000000000006f5f72800000000000080100] ["take time"=66.225059ms] [2024/05/06 10:41:20.400 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=327] [2024/05/06 10:41:20.400 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:37,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f728000000000000001] [2024/05/06 10:41:20.406 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:384, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.406 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:384, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.406 +00:00] [INFO] [index.go:857] ["index backfill state running"] [category=ddl] ["job ID"=327] [table=t] ["ingest mode"=false] [index=drop_columns_idx] [2024/05/06 10:41:20.408 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:20.443 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.446 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=774] [neededSchemaVersion=775] ["start time"=573.474Β΅s] [gotSchemaVersion=775] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.447 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=775] [2024/05/06 10:41:20.447 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=775] ["take time"=2.206531ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.448 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.454 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.454 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883877453825, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.455 +00:00] [INFO] [index.go:880] ["index backfill state ready to merge"] [category=ddl] ["job ID"=327] [table=t] [index=drop_columns_idx] [2024/05/06 10:41:20.455 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.457 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=775] [neededSchemaVersion=776] ["start time"=607.364Β΅s] [gotSchemaVersion=776] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.459 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=776] [2024/05/06 10:41:20.461 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=776] ["take time"=4.487559ms] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.462 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.469 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.469 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.469 +00:00] [INFO] [reorg.go:718] ["job get table range"] [category=ddl] [jobID=327] [physicalTableID=111] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000025ff] [2024/05/06 10:41:20.471 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.476 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.476 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.482 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.482 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 10, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.484 +00:00] [INFO] [index.go:1928] ["start to merge temp index"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:37,StartKey:74800000000000006f5f69ffff000000000025,EndKey:74800000000000006f5f69ffff000000000025ff,First:false,PhysicalTableID:111,Ingest mode:false"] [2024/05/06 10:41:20.485 +00:00] [INFO] [backfilling.go:416] ["split table range from PD"] [category=ddl] [physicalTableID=111] ["start key"=74800000000000006f5f69ffff000000000025] ["end key"=74800000000000006f5f69ffff000000000025ff] [2024/05/06 10:41:20.485 +00:00] [INFO] [backfilling.go:692] ["start backfill workers to reorg record"] [category=ddl] [type="merge temporary index"] [workerCnt=1] [regionCnt=1] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000025ff] [2024/05/06 10:41:20.486 +00:00] [INFO] [backfilling.go:475] ["get backfill range task, change end key"] [category=ddl] [id=1] [pTbl=111] ["end key"=74800000000000006f5f69ffff000000000025ff] ["current end key"=74800000000000006f5f69ffff00000000002500] [2024/05/06 10:41:20.536 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:20.536 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.537 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.538 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.548 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.548 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 7, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.587 +00:00] [INFO] [backfilling.go:330] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [task="taskID: 1, physicalTableID: 111, range: [74800000000000006f5f69ffff000000000025, 74800000000000006f5f69ffff00000000002500), jobID: 327"] ["added count"=0] ["scan count"=0] ["next key"=74800000000000006f5f69ffff0000000000250000] ["take time"=226.391Β΅s] [2024/05/06 10:41:20.587 +00:00] [INFO] [backfilling.go:369] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp merge temporary index"] [jobID=327] [2024/05/06 10:41:20.587 +00:00] [INFO] [backfilling.go:632] ["backfill workers successfully processed"] [category=ddl] [element=ID:37,TypeKey:_idx_] ["total added count"=2049] ["start key"=74800000000000006f5f69ffff000000000025] [2024/05/06 10:41:20.594 +00:00] [INFO] [reorg.go:262] ["run reorg job wait timeout"] [category=ddl] ["wait time"=10ms] ["total added row count"=2049] [2024/05/06 10:41:20.594 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.594 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.595 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:6, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.600 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.600 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 8, tp add index"] [category=ddl] [jobID=327] [conn=3] [category=ddl] [job="ID:327, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:111, RowCount:2049, ArgLen:0, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.602 +00:00] [INFO] [reorg.go:232] ["run reorg job done"] [category=ddl] ["handled rows"=2049] [2024/05/06 10:41:20.642 +00:00] [INFO] [index.go:781] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2024/05/06 10:41:20.642 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.645 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=776] [neededSchemaVersion=777] ["start time"=527.305Β΅s] [gotSchemaVersion=777] [phyTblIDs="[111]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2024/05/06 10:41:20.647 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=327] [version=777] [2024/05/06 10:41:20.649 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=777] ["take time"=4.51521ms] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.650 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.657 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=327] [tableID=111] [indexIDs="[9223090561878065189]"] [comment="add index: physical table ID(s)"] [2024/05/06 10:41:20.658 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="add index"] [2024/05/06 10:41:20.658 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 9, tp add index"] [category=ddl] [jobID=327] [conn=3] [job="ID:327, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.666 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=327] [elementID=1] [startKey=74800000000000006f5f69ffff000000000025] [endKey=74800000000000006f5f69ffff000000000026] [2024/05/06 10:41:20.669 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=327] [2024/05/06 10:41:20.669 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:20.670 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=777] [cur_db=test] [sql="alter table t drop column c41, drop column c42"] [user=] [2024/05/06 10:41:20.672 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:327, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:111, RowCount:2049, ArgLen:3, start time: 2024-05-06 10:41:20.175 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:449574883942465538, LocalMode: false, UniqueWarnings:0"] testutil.go:118: Error Trace: pkg/ddl/testutil/testutil.go:118 Error: not multi-schema change(sql: alter table t drop column c41, drop column c42, cancel state: [none delete only]) Test: TestCancel Messages: use model.SchemaState as the cancel state instead [2024/05/06 10:41:20.673 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0; "] [table=true] [2024/05/06 10:41:20.673 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [query="alter table t drop column c41, drop column c42"] [2024/05/06 10:41:20.678 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:queueing, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.678 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.679 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.680 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 10:41:20.680 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.685 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.685 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:true"] [2024/05/06 10:41:20.685 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.687 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 10:41:20.687 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.697 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.697 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.699 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:public, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.699 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.701 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=777] [neededSchemaVersion=778] ["start time"=607.232Β΅s] [gotSchemaVersion=778] [phyTblIDs="[111]"] [actionTypes="[61]"] [diffTypes="[\"alter table multi-schema change\"]"] [2024/05/06 10:41:20.703 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=778] [2024/05/06 10:41:20.706 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=778] ["take time"=4.963361ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.707 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.711 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.711 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.712 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.714 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=778] [neededSchemaVersion=779] ["start time"=593.141Β΅s] [gotSchemaVersion=779] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.716 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=779] [2024/05/06 10:41:20.719 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=779] ["take time"=5.09096ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.720 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.728 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.728 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.729 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.731 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=779] [neededSchemaVersion=780] ["start time"=494.023Β΅s] [gotSchemaVersion=780] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.733 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=780] [2024/05/06 10:41:20.733 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=780] ["take time"=2.401135ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.734 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.738 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.738 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.739 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.742 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=780] [neededSchemaVersion=781] ["start time"=531.424Β΅s] [gotSchemaVersion=781] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.743 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=781] [2024/05/06 10:41:20.745 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=781] ["take time"=4.11332ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.773 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.789 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.790 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.790 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.793 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=781] [neededSchemaVersion=782] ["start time"=525.203Β΅s] [gotSchemaVersion=782] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.794 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=782] [2024/05/06 10:41:20.794 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=782] ["take time"=2.041637ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.795 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.808 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.808 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.815 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.818 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=782] [neededSchemaVersion=783] ["start time"=582.584Β΅s] [gotSchemaVersion=783] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.821 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=783] [2024/05/06 10:41:20.822 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=783] ["take time"=4.261211ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.823 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.829 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.829 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [category=ddl] [job="ID:328, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0, Multi-Schema Change:true, Revertible:false"] [2024/05/06 10:41:20.830 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.833 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=783] [neededSchemaVersion=784] ["start time"=545.056Β΅s] [gotSchemaVersion=784] [phyTblIDs="[111]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2024/05/06 10:41:20.834 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=328] [version=784] [2024/05/06 10:41:20.837 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=784] ["take time"=4.905428ms] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.838 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.843 +00:00] [INFO] [callback.go:96] ["on job run before"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:running, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.843 +00:00] [INFO] [callback.go:111] ["on job run after"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.844 +00:00] [INFO] [ddl_worker.go:1396] ["schema version doesn't change"] [category=ddl] [jobID=328] [2024/05/06 10:41:20.845 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:done, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.850 +00:00] [INFO] [delete_range.go:422] ["insert into delete-range indices"] [category=ddl] [jobID=328] [tableID=111] [indexIDs="[37]"] [comment="drop column: table ID"] [2024/05/06 10:41:20.851 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=328] [jobType="alter table multi-schema change"] [2024/05/06 10:41:20.851 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=328] [conn=3] [job="ID:328, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.854 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:328, Type:alter table multi-schema change, State:synced, SchemaState:none, SchemaID:2, TableID:111, RowCount:0, ArgLen:0, start time: 2024-05-06 10:41:20.672 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false, UniqueWarnings:0"] [2024/05/06 10:41:20.860 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=328] [2024/05/06 10:41:20.860 +00:00] [INFO] [callback.go:70] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:41:20.868 +00:00] [INFO] [delete_range.go:259] ["delRange emulator complete task"] [category=ddl] [category=ddl] [jobID=328] [elementID=1] [startKey=74800000000000006f5f698000000000000025] [endKey=74800000000000006f5f698000000000000026] -- Test timed out at 2024-05-06 10:45:50 UTC -- ================================================================================ [12,526 / 13,030] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,527 / 13,030] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [12,531 / 13,030] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,533 / 13,042] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 55s remote-cache, linux-sandbox ... (70 actions running) [12,537 / 13,042] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 56s remote-cache, linux-sandbox ... (70 actions running) [12,537 / 13,042] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,540 / 13,042] 293 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [12,542 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 60s remote-cache, linux-sandbox ... (70 actions running) [12,551 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,551 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,554 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,556 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [12,559 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 67s remote-cache, linux-sandbox ... (70 actions running) [12,561 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 69s remote-cache, linux-sandbox ... (70 actions running) [12,561 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 70s remote-cache, linux-sandbox ... (70 actions running) [12,566 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,568 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 73s remote-cache, linux-sandbox ... (70 actions running) [12,572 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 74s remote-cache, linux-sandbox ... (70 actions running) [12,574 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,577 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [12,578 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 78s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,583 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,586 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,588 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 82s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,594 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 83s remote-cache, linux-sandbox ... (70 actions running) [12,594 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 85s remote-cache, linux-sandbox ... (70 actions running) [12,601 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 86s remote-cache, linux-sandbox ... (70 actions running) [12,603 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,608 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,610 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 90s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,612 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 91s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,615 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 92s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,617 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 93s remote-cache, linux-sandbox ... (70 actions running) [12,618 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 94s remote-cache, linux-sandbox ... (70 actions running) [12,620 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 95s remote-cache, linux-sandbox ... (70 actions running) [12,623 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 97s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,627 / 13,055] 294 / 411 tests; Testing //pkg/executor/aggfuncs:aggfuncs_test (shard 27 of 50); 98s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,632 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 58s remote-cache, linux-sandbox ... (70 actions running) [12,633 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 59s remote-cache, linux-sandbox ... (70 actions running) [12,635 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 61s remote-cache, linux-sandbox ... (70 actions running) [12,635 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 62s remote-cache, linux-sandbox ... (70 actions running) [12,635 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 63s remote-cache, linux-sandbox ... (70 actions running) [12,636 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 64s remote-cache, linux-sandbox ... (70 actions running) [12,639 / 13,055] 295 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 65s remote-cache, linux-sandbox ... (70 actions running) [12,639 / 13,055] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 66s remote-cache, linux-sandbox ... (70 actions running) [12,643 / 13,055] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 68s remote-cache, linux-sandbox ... (70 actions running) [12,646 / 13,055] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,648 / 13,057] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,652 / 13,057] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 71s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,656 / 13,057] 296 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,660 / 13,057] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,662 / 13,057] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 75s remote-cache, linux-sandbox ... (70 actions running) [12,662 / 13,057] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 77s remote-cache, linux-sandbox ... (70 actions running) [12,668 / 13,059] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 79s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,676 / 13,059] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 80s remote-cache, linux-sandbox ... (70 actions running) [12,684 / 13,059] 297 / 411 tests; Testing //pkg/bindinfo:bindinfo_test (shard 38 of 50); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,694 / 13,059] 298 / 411 tests; Testing //pkg/ddl/tests/fail:fail_test (shard 4 of 12); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,699 / 13,059] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,703 / 13,059] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,713 / 13,066] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 45s remote-cache, linux-sandbox ... (70 actions running) [12,716 / 13,066] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 46s remote-cache, linux-sandbox ... (70 actions running) [12,716 / 13,066] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 48s remote-cache, linux-sandbox ... (70 actions running) [12,717 / 13,066] 299 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,730 / 13,066] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 50s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,731 / 13,066] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 52s remote-cache, linux-sandbox ... (70 actions running) [12,739 / 13,066] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 53s remote-cache, linux-sandbox ... (70 actions running) [12,741 / 13,066] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 54s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,745 / 13,066] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,753 / 13,068] 300 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,757 / 13,068] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 57s remote-cache, linux-sandbox ... (70 actions running) [12,761 / 13,068] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,763 / 13,068] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,764 / 13,068] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 61s remote-cache, linux-sandbox ... (70 actions running) [12,765 / 13,068] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,771 / 13,101] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,774 / 13,105] 302 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 12 of 28); 65s remote-cache, linux-sandbox ... (70 actions running) [12,777 / 13,123] 302 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,778 / 13,123] 302 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 6 of 19); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,779 / 13,123] 302 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 9 of 11); 36s remote-cache, linux-sandbox ... (70 actions running) [12,779 / 13,123] 302 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 9 of 11); 37s remote-cache, linux-sandbox ... (70 actions running) [12,786 / 13,143] 302 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 8 of 11); 34s remote-cache, linux-sandbox ... (70 actions running) [12,786 / 13,143] 303 / 411 tests; Testing //pkg/executor/test/jointest/hashjoin:hashjoin_test (shard 8 of 11); 35s remote-cache, linux-sandbox ... (70 actions running) [12,787 / 13,143] 304 / 411 tests; Testing //pkg/executor/test/memtest:memtest_test; 36s remote-cache, linux-sandbox ... (70 actions running) [12,789 / 13,143] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 22 of 28); 36s remote-cache, linux-sandbox ... (70 actions running) [12,789 / 13,143] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 22 of 28); 37s remote-cache, linux-sandbox ... (70 actions running) [12,790 / 13,143] 304 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 22 of 28); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,800 / 13,157] 304 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 4 of 20); 36s remote-cache, linux-sandbox ... (69 actions running) [12,800 / 13,157] 304 / 411 tests; Testing //pkg/ddl/tests/indexmerge:indexmerge_test (shard 4 of 20); 38s remote-cache, linux-sandbox ... (70 actions running) [12,801 / 13,157] 304 / 411 tests; Testing //pkg/executor:executor_test (shard 6 of 50); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,807 / 13,161] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 38s remote-cache, linux-sandbox ... (70 actions running) [12,815 / 13,161] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 40s remote-cache, linux-sandbox ... (70 actions running) [12,820 / 13,165] 305 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,820 / 13,165] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 42s remote-cache, linux-sandbox ... (70 actions running) [12,827 / 13,174] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,832 / 13,174] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 45s remote-cache, linux-sandbox ... (70 actions running) [12,833 / 13,174] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 7 of 19); 46s remote-cache, linux-sandbox ... (70 actions running) [12,836 / 13,178] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,842 / 13,184] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,843 / 13,184] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 50s remote-cache, linux-sandbox ... (70 actions running) [12,845 / 13,184] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,849 / 13,184] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 53s remote-cache, linux-sandbox ... (70 actions running) [12,854 / 13,186] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 54s remote-cache, linux-sandbox ... (70 actions running) [12,856 / 13,186] 306 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,858 / 13,188] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 56s remote-cache, linux-sandbox ... (70 actions running) [12,865 / 13,188] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,868 / 13,231] 307 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 59s remote-cache, linux-sandbox ... (70 actions running) [12,869 / 13,231] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 60s remote-cache, linux-sandbox ... (70 actions running) [12,873 / 13,231] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 61s remote-cache, linux-sandbox ... (70 actions running) [12,874 / 13,231] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 62s remote-cache, linux-sandbox ... (70 actions running) [12,874 / 13,231] 308 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 64s remote-cache, linux-sandbox ... (70 actions running) [12,879 / 13,231] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,881 / 13,231] 309 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,884 / 13,231] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 67s remote-cache, linux-sandbox ... (70 actions running) [12,887 / 13,231] 310 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [12,892 / 13,231] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 70s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,897 / 13,267] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 72s remote-cache, linux-sandbox ... (70 actions running) [12,898 / 13,267] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 73s remote-cache, linux-sandbox ... (70 actions running) [12,899 / 13,267] 311 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 8 of 19); 74s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,902 / 13,267] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 75s remote-cache, linux-sandbox ... (70 actions running) [12,902 / 13,267] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 76s remote-cache, linux-sandbox ... (70 actions running) [12,902 / 13,267] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 77s remote-cache, linux-sandbox ... (70 actions running) [12,908 / 13,306] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 78s remote-cache, linux-sandbox ... (69 actions running) [12,909 / 13,306] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 80s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,915 / 13,326] 312 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 81s remote-cache, linux-sandbox ... (70 actions running) [12,917 / 13,326] 314 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 82s remote-cache, linux-sandbox ... (70 actions running) [12,922 / 13,328] 314 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,925 / 13,328] 315 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 85s remote-cache, linux-sandbox ... (70 actions running) FAIL: //pkg/executor/test/oomtest:oomtest_test (shard 2 of 3) (see /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/executor/test/oomtest/oomtest_test/shard_2_of_3/test_attempts/attempt_1.log) [12,927 / 13,328] 315 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 87s remote-cache, linux-sandbox ... (70 actions running) [12,928 / 13,328] 315 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 88s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,932 / 13,330] 315 / 411 tests; Testing //pkg/executor/test/seqtest:seqtest_test (shard 19 of 28); 89s remote-cache, linux-sandbox ... (70 actions running) [12,941 / 13,332] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,942 / 13,332] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 69s remote-cache, linux-sandbox ... (70 actions running) [12,946 / 13,332] 317 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 70s remote-cache, linux-sandbox ... (69 actions running) [12,950 / 13,350] 318 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 71s remote-cache, linux-sandbox ... (70 actions running) [12,954 / 13,377] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,956 / 13,377] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 74s remote-cache, linux-sandbox ... (70 actions running) [12,959 / 13,377] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,961 / 13,377] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 77s remote-cache, linux-sandbox ... (68 actions, 66 running) [12,965 / 13,401] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 78s remote-cache, linux-sandbox ... (70 actions running) [12,965 / 13,401] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 79s remote-cache, linux-sandbox ... (70 actions running) [12,966 / 13,401] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 81s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,969 / 13,401] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 82s remote-cache, linux-sandbox ... (70 actions running) [12,969 / 13,401] 319 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 83s remote-cache, linux-sandbox ... (70 actions running) [12,974 / 13,407] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 85s remote-cache, linux-sandbox ... (67 actions, 66 running) [12,982 / 13,436] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 86s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,984 / 13,436] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 87s remote-cache, linux-sandbox ... (70 actions running) [12,985 / 13,436] 320 / 411 tests; Testing //pkg/executor/test/indexmergereadtest:indexmergereadtest_test (shard 11 of 19); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,987 / 13,436] 321 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 55s remote-cache, linux-sandbox ... (70 actions running) [12,993 / 13,436] 322 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [12,996 / 13,436] 322 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 58s remote-cache, linux-sandbox ... (70 actions running) [12,997 / 13,436] 322 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 42 of 42); 60s remote-cache, linux-sandbox ... (70 actions running) [12,998 / 13,436] 322 / 411 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 39s remote-cache, linux-sandbox ... (70 actions running) [13,009 / 13,487] 322 / 411 tests; Testing //pkg/session/clusteredindextest:clusteredindextest_test (shard 2 of 3); 41s remote-cache, linux-sandbox ... (70 actions running) FLAKY: //pkg/executor/test/oomtest:oomtest_test (Summary) /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/executor/test/oomtest/oomtest_test/shard_2_of_3/test_attempts/attempt_1.log INFO: From Testing //pkg/executor/test/oomtest:oomtest_test (shard 2 of 3): ==================== Test output for //pkg/executor/test/oomtest:oomtest_test (shard 2 of 3): === RUN TestMemTracker4InsertAndReplaceExec [2024/05/06 10:49:14.042 +00:00] [INFO] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:14.042 +00:00] [INFO] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:14.055 +00:00] [INFO] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:14.055 +00:00] [INFO] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:14.062 +00:00] [INFO] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:14.548 +00:00] [INFO] ["start DDL"] [category=ddl] [ID=250e9be1-6982-4a43-a978-6ad8735c4e4c] [runWorker=true] [2024/05/06 10:49:14.549 +00:00] [INFO] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:49:14.549 +00:00] [WARN] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:49:14.549 +00:00] [INFO] ["start delRange emulator"] [category=ddl] [2024/05/06 10:49:14.550 +00:00] [INFO] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:49:14.550 +00:00] [INFO] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:49:14.602 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:49:14.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:14.602 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:49:14.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS test"] [2024/05/06 10:49:14.666 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:14.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:14.832 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:14.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:14.860 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=3] [2024/05/06 10:49:14.860 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:15.185 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:14.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:15.185 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:14.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tPRIMARY KEY (Host, User));"] [2024/05/06 10:49:15.247 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:14.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:15.854 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:14.92 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:16.163 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=5] [2024/05/06 10:49:16.164 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:16.166 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 1.28008524\n# Parse_time: 0\n# Compile_time: 0.015660801\n# Rewrite_time: 0.000011379\n# Optimize_time: 0\n# Wait_TS: 0.000178757\n# DB: mysql\n# Is_internal: true\n# Digest: 1dcdddcae0fb6a3fa29440fed26e29fecfb2c265d457dd4657cef0ce99abd274\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse mysql;\n;"] [2024/05/06 10:49:16.237 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:16.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:16.237 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:16.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2024/05/06 10:49:16.359 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:16.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:16.608 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:16.188 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:16.680 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=7] [2024/05/06 10:49:16.681 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:16.683 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.512389916\n# Parse_time: 0\n# Compile_time: 0.003125698\n# Rewrite_time: 0.000016858\n# Optimize_time: 0\n# Wait_TS: 0.00014892\n# DB: mysql\n# Is_internal: true\n# Digest: eeb59bc0d98f65a2a5aef8eaa99596260e746b00eed183baf856558ef03533ac\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:16.776 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:16.776 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User))"] [2024/05/06 10:49:16.855 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:17.117 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:16.734 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:17.232 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=9] [2024/05/06 10:49:17.232 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:17.246 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.559880924\n# Parse_time: 0\n# Compile_time: 0.002532194\n# Rewrite_time: 0.000015289\n# Optimize_time: 0\n# Wait_TS: 0.000163112\n# DB: mysql\n# Is_internal: true\n# Digest: 3bc9b46cf9e300a8d240915cf47216424544ed9f992c07151fba2e2cadc41632\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Warnings: [{\"Level\":\"Warning\",\"Message\":\"BLOB/TEXT/JSON column 'Priv' can't have a default value\"}]\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:17.462 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:17.462 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User));"] [2024/05/06 10:49:17.563 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:17.972 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:17.321 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:18.151 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=11] [2024/05/06 10:49:18.151 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:18.154 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.862631224\n# Parse_time: 0\n# Compile_time: 0.00971254\n# Rewrite_time: 0.000015622\n# Optimize_time: 0\n# Wait_TS: 0.000162548\n# DB: mysql\n# Is_internal: true\n# Digest: e02ee30435ff06e52f357a0a68828973f373118f7009cbdfbeb747a4e7d91418\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:18.248 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:18.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:18.248 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:18.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name));"] [2024/05/06 10:49:18.362 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:18.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:18.594 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:18.179 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:18.687 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=13] [2024/05/06 10:49:18.687 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:18.689 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.52965841\n# Parse_time: 0\n# Compile_time: 0.004307489\n# Rewrite_time: 0.000014888\n# Optimize_time: 0\n# Wait_TS: 0.000164626\n# DB: mysql\n# Is_internal: true\n# Digest: 5759132672d59a4de3b27e6fbbd8f039e7489d9187962651ede26b9390589e5c\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:18.797 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:18.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:18.797 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:18.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name));"] [2024/05/06 10:49:18.914 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:18.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:19.264 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:18.713 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:19.350 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=15] [2024/05/06 10:49:19.350 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:19.352 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.658737368\n# Parse_time: 0\n# Compile_time: 0.003856406\n# Rewrite_time: 0.000015313\n# Optimize_time: 0\n# Wait_TS: 0.000186163\n# DB: mysql\n# Is_internal: true\n# Digest: 36f214f75d4d00ba6ac1ac7b8c95c01ec9574a40c07a536b2afe7a72144551b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:19.404 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:19.369 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:19.405 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:19.369 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2024/05/06 10:49:19.477 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:19.369 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:19.685 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:19.369 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:19.737 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=17] [2024/05/06 10:49:19.737 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:19.739 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.384506992\n# Parse_time: 0\n# Compile_time: 0.001686321\n# Rewrite_time: 0.000012279\n# Optimize_time: 0\n# Wait_TS: 0.000128826\n# DB: mysql\n# Is_internal: true\n# Digest: 1b59564c29970a0a8880792322e02b7df09888f7d0a2dfc190f3ed0ff12369d4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:19.819 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:19.819 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2024/05/06 10:49:19.885 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:20.043 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:19.776 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:20.194 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=19] [2024/05/06 10:49:20.194 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:20.196 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.454281624\n# Parse_time: 0\n# Compile_time: 0.016325964\n# Rewrite_time: 0.000018033\n# Optimize_time: 0\n# Wait_TS: 0.000147504\n# DB: mysql\n# Is_internal: true\n# Digest: ade124588c0253b12ce82702300a98a0ff778787142ce450039efbd6347664dc\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:20.319 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:20.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:20.319 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:20.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2024/05/06 10:49:20.403 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:20.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:20.644 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:20.219 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:20.720 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=21] [2024/05/06 10:49:20.721 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:20.722 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.52135986\n# Parse_time: 0\n# Compile_time: 0.003692213\n# Rewrite_time: 0.00001639\n# Optimize_time: 0\n# Wait_TS: 0.000152587\n# DB: mysql\n# Is_internal: true\n# Digest: be740d9d66f07e7842e3b48027d6fb3ef54623295384e63dcbf3e1c8a9f15c10\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:20.813 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:20.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:20.813 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:20.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2024/05/06 10:49:20.908 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:20.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:21.124 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:20.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:21.229 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=23] [2024/05/06 10:49:21.230 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:21.232 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.504553951\n# Parse_time: 0\n# Compile_time: 0.003383228\n# Rewrite_time: 0.000013299\n# Optimize_time: 0\n# Wait_TS: 0.000146558\n# DB: mysql\n# Is_internal: true\n# Digest: 2db2929397c955d277d1b5400209b98787aa0797f979b9c213e3924c27b82ea9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:21.242 +00:00] [INFO] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:21.368 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:21.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:21.368 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:21.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:49:21.452 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:21.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:21.713 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:21.257 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:21.835 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=25] [2024/05/06 10:49:21.836 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:21.838 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.600908465\n# Parse_time: 0\n# Compile_time: 0.004200067\n# Rewrite_time: 0.000014002\n# Optimize_time: 0\n# Wait_TS: 0.000144076\n# DB: mysql\n# Is_internal: true\n# Digest: e038e634a5f1b7e5429d1252be7edf0ffb0922e8636032b9c68fd59f0484f6ef\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:21.974 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:21.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:21.974 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:21.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2024/05/06 10:49:22.021 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:21.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:22.339 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:21.87 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:22.431 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=27] [2024/05/06 10:49:22.432 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:22.434 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.591623157\n# Parse_time: 0\n# Compile_time: 0.012420207\n# Rewrite_time: 0.000012693\n# Optimize_time: 0\n# Wait_TS: 0.000149562\n# DB: mysql\n# Is_internal: true\n# Digest: 84a28596914df45e10de865c11a515d8595f2c38a422f5c8d8fb86a470ba5cad\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:22.509 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:22.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:22.509 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:22.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2024/05/06 10:49:22.598 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:22.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:22.845 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:22.457 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:22.910 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=29] [2024/05/06 10:49:22.910 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:22.912 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.47369003\n# Parse_time: 0\n# Compile_time: 0.003771142\n# Rewrite_time: 0.000014243\n# Optimize_time: 0\n# Wait_TS: 0.000163399\n# DB: mysql\n# Is_internal: true\n# Digest: 4407fc98c36858aed19a41d8ab6383e7885e71a2edd2716950a8847ee0c4ccd2\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:22.983 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:22.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:22.983 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:22.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2024/05/06 10:49:23.034 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:22.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:23.242 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:22.934 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:23.326 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=31] [2024/05/06 10:49:23.326 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:23.328 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.412391931\n# Parse_time: 0\n# Compile_time: 0.00335554\n# Rewrite_time: 0.000022604\n# Optimize_time: 0\n# Wait_TS: 0.000157349\n# DB: mysql\n# Is_internal: true\n# Digest: 6f80e6944eacefde08a31e8364b171d37e77c4bebc7757ae375b47812ca371cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:23.392 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:23.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:23.392 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:23.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:49:23.445 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:23.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:23.609 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:23.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:23.673 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=33] [2024/05/06 10:49:23.673 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:23.674 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.34303573\n# Parse_time: 0\n# Compile_time: 0.003056331\n# Rewrite_time: 0.000013311\n# Optimize_time: 0\n# Wait_TS: 0.000136125\n# DB: mysql\n# Is_internal: true\n# Digest: ae00140f19e8173091b9a44ece06f4d51ecf640b3c9c924a7be8a7394182215f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:23.827 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:23.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:23.827 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:23.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2024/05/06 10:49:23.969 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:23.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:24.205 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:23.712 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:24.277 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=35] [2024/05/06 10:49:24.277 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:24.279 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.5972525\n# Parse_time: 0\n# Compile_time: 0.003716064\n# Rewrite_time: 0.000012941\n# Optimize_time: 0\n# Wait_TS: 0.000167129\n# DB: mysql\n# Is_internal: true\n# Digest: b0ac22a8699b953eeb48be3f830e94a20801551f37159b586c40d30dc883661d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:24.384 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:24.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:24.384 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:24.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER)\n\t)"] [2024/05/06 10:49:24.469 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:24.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:24.706 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:24.301 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:24.775 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=37] [2024/05/06 10:49:24.776 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:24.777 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.493585889\n# Parse_time: 0\n# Compile_time: 0.003403761\n# Rewrite_time: 0.000013975\n# Optimize_time: 0\n# Wait_TS: 0.00014387\n# DB: mysql\n# Is_internal: true\n# Digest: 9e6b544fb0287e9d8a74031560ed0cd6a5b4e54db073b893a68a76b05d929781\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:24.881 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:24.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:24.882 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:24.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql TEXT NOT NULL,\n\t\tbind_sql TEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64),\n\t\tplan_digest varchar(64),\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:49:24.946 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:24.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:25.197 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:24.801 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:25.314 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=39] [2024/05/06 10:49:25.314 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:25.316 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.533933286\n# Parse_time: 0\n# Compile_time: 0.004914953\n# Rewrite_time: 0.000014853\n# Optimize_time: 0\n# Wait_TS: 0.000160224\n# DB: mysql\n# Is_internal: true\n# Digest: 906c8d2d8937c4ba0f1e3f03de3e50407e0940fb66383a443b19d383373b2bb9\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:25.458 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:25.458 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:49:25.564 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:25.796 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:25.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:25.882 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=41] [2024/05/06 10:49:25.882 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:25.884 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.510133706\n# Parse_time: 0\n# Compile_time: 0.00361775\n# Rewrite_time: 0.000013904\n# Optimize_time: 0\n# Wait_TS: 0.000246124\n# DB: mysql\n# Is_internal: true\n# Digest: df1a9dde39341a07eb2fb8ef599e6652770203b79af3e1800917053820a3b51c\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:25.934 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:25.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:25.934 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:25.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2024/05/06 10:49:26.043 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:25.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:26.282 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:25.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:26.336 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=43] [2024/05/06 10:49:26.336 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:26.338 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.451075489\n# Parse_time: 0\n# Compile_time: 0.002053436\n# Rewrite_time: 0.000012651\n# Optimize_time: 0\n# Wait_TS: 0.000146006\n# DB: mysql\n# Is_internal: true\n# Digest: 988ff7e96344f475621bfec9765ba7b507e76d86daa1e3fdf0f9eadbd538afd0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:26.384 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:26.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:26.384 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:26.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2024/05/06 10:49:26.441 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:26.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:26.631 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:26.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:26.697 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=45] [2024/05/06 10:49:26.697 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:26.699 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.359775016\n# Parse_time: 0\n# Compile_time: 0.001226352\n# Rewrite_time: 0.000019879\n# Optimize_time: 0\n# Wait_TS: 0.000128631\n# DB: mysql\n# Is_internal: true\n# Digest: 58329d63c08bcbc761a6b408e882dc874ae0220c9a2aaaeab91d992543fef52b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:26.812 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:26.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:26.812 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:26.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2024/05/06 10:49:26.888 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:26.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:27.199 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:26.739 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:27.286 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=47] [2024/05/06 10:49:27.286 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:27.288 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.583218683\n# Parse_time: 0\n# Compile_time: 0.019513861\n# Rewrite_time: 0.000009763\n# Optimize_time: 0\n# Wait_TS: 0.000145722\n# DB: mysql\n# Is_internal: true\n# Digest: 9c4f6672f019f6d6c588a6b2eb00b13f041ee54cb97f253f85d7ae52df9d23c6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:27.354 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:27.354 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2024/05/06 10:49:27.456 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:27.711 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:27.307 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:27.806 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=49] [2024/05/06 10:49:27.806 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:27.808 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.517474496\n# Parse_time: 0\n# Compile_time: 0.002373894\n# Rewrite_time: 0.000012956\n# Optimize_time: 0\n# Wait_TS: 0.000146983\n# DB: mysql\n# Is_internal: true\n# Digest: 9e692f90f6e351e4eecf3fbff7177acf0a166d0cd79badb0ce0ced2bb754eb99\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:27.906 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:27.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:27.906 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:27.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV)\n\t);"] [2024/05/06 10:49:27.959 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:27.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.109 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:27.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.179 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=51] [2024/05/06 10:49:28.179 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:28.181 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.366513394\n# Parse_time: 0\n# Compile_time: 0.002832081\n# Rewrite_time: 0.000014099\n# Optimize_time: 0\n# Wait_TS: 0.000121177\n# DB: mysql\n# Is_internal: true\n# Digest: fb2ab8d9eb87bcf45e5bc65e3dbe38a6d629c319d70fb6f44a741534bb3455a6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:28.251 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:28.251 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2024/05/06 10:49:28.326 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.469 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.205 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.526 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=53] [2024/05/06 10:49:28.526 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:28.534 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.349008607\n# Parse_time: 0\n# Compile_time: 0.003736461\n# Rewrite_time: 0.00001435\n# Optimize_time: 0\n# Wait_TS: 0.000135437\n# DB: mysql\n# Is_internal: true\n# Digest: 1fac41a3d4a89e3e4da2393e1f69d1aacfec8886db749d6329e9bf677df777b8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:28.601 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:28.601 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2024/05/06 10:49:28.656 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.894 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:28.959 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=55] [2024/05/06 10:49:28.959 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:28.960 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.423150612\n# Parse_time: 0\n# Compile_time: 0.0023176\n# Rewrite_time: 0.000013506\n# Optimize_time: 0\n# Wait_TS: 0.000144518\n# DB: mysql\n# Is_internal: true\n# Digest: 06962f34c69b85ab590c2556bdffd68d7705d56a70a3b0522b0ba5bc55363fd3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:29.019 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:29.019 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:28.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2024/05/06 10:49:29.078 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:29.255 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:28.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:29.317 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=57] [2024/05/06 10:49:29.317 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:29.319 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.354979098\n# Parse_time: 0\n# Compile_time: 0.002896436\n# Rewrite_time: 0.00001311\n# Optimize_time: 0\n# Wait_TS: 0.000151662\n# DB: mysql\n# Is_internal: true\n# Digest: a30fd7e284f356f111cb15459926cdbebb3d6f24c950b6f3b9729d8b5f13ee4f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:29.337 +00:00] [INFO] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2024/05/06 10:49:29.403 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:29.403 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2024/05/06 10:49:29.491 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:29.710 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:29.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:29.802 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=59] [2024/05/06 10:49:29.802 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:29.805 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.474224626\n# Parse_time: 0\n# Compile_time: 0.003940758\n# Rewrite_time: 0.000014093\n# Optimize_time: 0\n# Wait_TS: 0.000183185\n# DB: mysql\n# Is_internal: true\n# Digest: c862b6db4c0b104bd6ade1db78bbe1f6a12a30584d750044f3eec57a1a86580e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:29.907 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:29.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:29.907 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:29.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:49:30.040 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:29.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:30.272 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:29.842 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:30.347 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=61] [2024/05/06 10:49:30.347 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:30.349 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.538013483\n# Parse_time: 0\n# Compile_time: 0.017088058\n# Rewrite_time: 0.0000126\n# Optimize_time: 0\n# Wait_TS: 0.000141748\n# DB: mysql\n# Is_internal: true\n# Digest: eceb528bf68c7d9b100b120b5113005ea7f5a4c6c1f4834403330ff156d0a3aa\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:30.431 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:30.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:30.431 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:30.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2024/05/06 10:49:30.492 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:30.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:30.753 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:30.371 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:30.874 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=63] [2024/05/06 10:49:30.874 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:30.876 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.52339719\n# Parse_time: 0\n# Compile_time: 0.003653221\n# Rewrite_time: 0.000009966\n# Optimize_time: 0\n# Wait_TS: 0.000122358\n# DB: mysql\n# Is_internal: true\n# Digest: 752363602773b9b875eec93769301ada55a059e0b28c5434de98fdbbc6af54cb\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:30.983 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:30.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:30.983 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:30.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time)\n\t);"] [2024/05/06 10:49:31.075 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:30.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:31.372 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:30.906 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:31.503 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=65] [2024/05/06 10:49:31.503 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:31.505 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.621064692\n# Parse_time: 0\n# Compile_time: 0.007366085\n# Rewrite_time: 0.000012813\n# Optimize_time: 0\n# Wait_TS: 0.000141002\n# DB: mysql\n# Is_internal: true\n# Digest: 1127cc15f332cc4c1c6b97d06d92880902c2f7e015188cc29392a62748dd8ae0\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:31.572 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:31.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:31.572 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:31.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2024/05/06 10:49:31.637 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:31.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:31.864 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:31.536 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:31.921 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=67] [2024/05/06 10:49:31.921 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:31.923 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.415838166\n# Parse_time: 0\n# Compile_time: 0.001485669\n# Rewrite_time: 0.000013371\n# Optimize_time: 0\n# Wait_TS: 0.000144021\n# DB: mysql\n# Is_internal: true\n# Digest: 6eab04864600dfa37145d44689995984eecc83e3dc6ce49c1e75d23567f8bac3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:32.027 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:49:31.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:32.027 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:3, start time: 2024-05-06 10:49:31.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), ',') != 0\n\t);"] [2024/05/06 10:49:32.154 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:31.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:32.429 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:31.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:32.516 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=69] [2024/05/06 10:49:32.516 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:32.518 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.585123783\n# Parse_time: 0\n# Compile_time: 0.01134202\n# Rewrite_time: 0.005685956\n# Optimize_time: 0\n# Wait_TS: 0.00017168\n# DB: mysql\n# Is_internal: true\n# Digest: 96862a845511a9a5adb6aee43dd8eb50968e12bb7d22d4585df8d692780c2f3e\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:32.602 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:32.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:32.602 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:32.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2024/05/06 10:49:32.667 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:32.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:32.979 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:32.538 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:33.064 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=71] [2024/05/06 10:49:33.064 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:33.066 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.54423487\n# Parse_time: 0\n# Compile_time: 0.002238476\n# Rewrite_time: 0.000010022\n# Optimize_time: 0\n# Wait_TS: 0.000142605\n# DB: mysql\n# Is_internal: true\n# Digest: d88a70e9c5bb5a28f5a1d1f52613093328fd73c5e78668fab2b1a9c260ab506b\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:33.125 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:33.125 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2024/05/06 10:49:33.209 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:33.363 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.089 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:33.478 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=73] [2024/05/06 10:49:33.478 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:33.480 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.410663501\n# Parse_time: 0\n# Compile_time: 0.002563578\n# Rewrite_time: 0.00001904\n# Optimize_time: 0\n# Wait_TS: 0.000134999\n# DB: mysql\n# Is_internal: true\n# Digest: 1ce2bb4fd69df5a5aeb254910aeeab700c1408b8c2de8f7dbe3ebbc11a4b1542\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:33.534 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:33.534 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2024/05/06 10:49:33.608 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:33.805 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:33.870 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=75] [2024/05/06 10:49:33.870 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:33.871 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.389111491\n# Parse_time: 0\n# Compile_time: 0.002139046\n# Rewrite_time: 0.000013043\n# Optimize_time: 0\n# Wait_TS: 0.000117352\n# DB: mysql\n# Is_internal: true\n# Digest: f2c0bd78cfe8f7e6b4f8b30f83a48ff4c49a1a9de1c1a0c721ec3561ac42865a\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:34.006 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:34.006 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:33.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2024/05/06 10:49:34.103 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:34.428 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:33.896 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:34.554 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=77] [2024/05/06 10:49:34.554 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:34.556 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.677949526\n# Parse_time: 0\n# Compile_time: 0.004152833\n# Rewrite_time: 0.00001045\n# Optimize_time: 0\n# Wait_TS: 0.000116721\n# DB: mysql\n# Is_internal: true\n# Digest: 923db1cc9d609e172ea493293255661f5a9679f95604192db50211d133741170\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:34.665 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:34.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:34.665 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:34.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2024/05/06 10:49:34.759 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:34.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:35.081 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:34.582 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:35.203 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=79] [2024/05/06 10:49:35.203 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:35.205 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.643220923\n# Parse_time: 0\n# Compile_time: 0.004166901\n# Rewrite_time: 0.000013168\n# Optimize_time: 0\n# Wait_TS: 0.000148777\n# DB: mysql\n# Is_internal: true\n# Digest: 99a5c0e89a0b881a0fa10de262495ae25955edb2a7ef8776054ab57aca80e0d7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:35.339 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:35.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:35.339 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:35.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2024/05/06 10:49:35.424 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:35.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:35.700 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:35.234 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:35.826 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=81] [2024/05/06 10:49:35.826 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:35.828 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.611151319\n# Parse_time: 0\n# Compile_time: 0.003972346\n# Rewrite_time: 0.000009393\n# Optimize_time: 0\n# Wait_TS: 0.000128492\n# DB: mysql\n# Is_internal: true\n# Digest: a59d1fe47cade4697d39b0374d27cfee2fa302a4c752a5ae5073cecda386a0e8\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:35.930 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:35.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:35.930 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:35.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:49:36.020 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:35.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:36.384 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:35.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:36.517 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=83] [2024/05/06 10:49:36.517 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:36.519 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.685909285\n# Parse_time: 0\n# Compile_time: 0.003646869\n# Rewrite_time: 0.000009941\n# Optimize_time: 0\n# Wait_TS: 0.000141676\n# DB: mysql\n# Is_internal: true\n# Digest: 8b936e70dba13ed841799b00055530a734435802a5e9b11c1092357e8a0974ea\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:36.661 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:36.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:36.662 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:36.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tkey(state),\n \tUNIQUE KEY task_key(task_key)\n\t);"] [2024/05/06 10:49:36.766 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:36.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:37.024 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:36.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:37.152 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=85] [2024/05/06 10:49:37.152 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:37.154 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.629117186\n# Parse_time: 0\n# Compile_time: 0.00337043\n# Rewrite_time: 0.000009249\n# Optimize_time: 0\n# Wait_TS: 0.000138363\n# DB: mysql\n# Is_internal: true\n# Digest: 666f922981f05f40c7604fdcedd884ec9f6dd414d45b0b8215b19cbf33205685\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:37.268 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:37.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:37.268 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:37.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2024/05/06 10:49:37.358 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:37.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:37.659 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:37.18 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:37.778 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=87] [2024/05/06 10:49:37.778 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:37.780 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.619139299\n# Parse_time: 0\n# Compile_time: 0.004272803\n# Rewrite_time: 0.000009742\n# Optimize_time: 0\n# Wait_TS: 0.000126237\n# DB: mysql\n# Is_internal: true\n# Digest: 1865863db4761960f0296bcf5386c3bb0c98aa299ac12888aa8054dc66681ee3\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:37.858 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:37.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:37.858 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:37.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:49:37.916 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:37.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:38.154 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:37.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:38.259 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=89] [2024/05/06 10:49:38.260 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:38.262 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.476224861\n# Parse_time: 0\n# Compile_time: 0.00313219\n# Rewrite_time: 0.000013246\n# Optimize_time: 0\n# Wait_TS: 0.000101544\n# DB: mysql\n# Is_internal: true\n# Digest: a2de40f38c40a12cca2de8ba7dffa75407607354a3f9335d67717fa5648c5128\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:38.343 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:38.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:38.343 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:38.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\ttime TIMESTAMP NOT NULL,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(12) NOT NULL,\n\t\toriginal_sql TEXT NOT NULL,\n\t\tplan_digest TEXT NOT NULL,\n\t\ttidb_server varchar(512),\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:49:38.393 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:38.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:38.632 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:38.285 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:38.705 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=91] [2024/05/06 10:49:38.705 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:38.707 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.440416319\n# Parse_time: 0\n# Compile_time: 0.004134915\n# Rewrite_time: 0.000014359\n# Optimize_time: 0\n# Wait_TS: 0.000131936\n# DB: mysql\n# Is_internal: true\n# Digest: 138d4c5637e5b37a1254d33767e808750320baffba8200a31ad2008bb2b5df97\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:38.853 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:38.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:38.853 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:38.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2024/05/06 10:49:38.937 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:38.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:39.251 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:38.735 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:39.386 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=93] [2024/05/06 10:49:39.386 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:39.388 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.674496888\n# Parse_time: 0\n# Compile_time: 0.006528445\n# Rewrite_time: 0.000012895\n# Optimize_time: 0\n# Wait_TS: 0.000161648\n# DB: mysql\n# Is_internal: true\n# Digest: 9911fdd027ae330cb69c5cc84a8759473df277eda62594b0dc9b5a797f09a21d\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:39.498 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:39.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:39.498 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:39.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2024/05/06 10:49:39.574 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:39.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:39.823 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:39.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:39.920 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=95] [2024/05/06 10:49:39.920 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:39.922 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.528081763\n# Parse_time: 0\n# Compile_time: 0.003082314\n# Rewrite_time: 0.000009133\n# Optimize_time: 0\n# Wait_TS: 0.000098812\n# DB: mysql\n# Is_internal: true\n# Digest: 18ab068c70cca87bd99eadc5e483c12b4b41273470a58870b5f4e6eaf6322ce4\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:39.986 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:39.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:39.986 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:39.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2024/05/06 10:49:40.067 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:39.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:40.276 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:39.94 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:40.338 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=97] [2024/05/06 10:49:40.338 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:40.341 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.415473048\n# Parse_time: 0\n# Compile_time: 0.001577895\n# Rewrite_time: 0.000013481\n# Optimize_time: 0\n# Wait_TS: 0.000134213\n# DB: mysql\n# Is_internal: true\n# Digest: d7aca5b8f7b6ebbd013778d4a0451e0b59954ffc0090d361b1f71722be496608\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:40.416 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:40.416 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2024/05/06 10:49:40.518 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:40.757 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:40.362 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:40.824 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=99] [2024/05/06 10:49:40.824 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:40.826 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.481532297\n# Parse_time: 0\n# Compile_time: 0.00270201\n# Rewrite_time: 0.00001413\n# Optimize_time: 0\n# Wait_TS: 0.000129916\n# DB: mysql\n# Is_internal: true\n# Digest: 5ca9dd4b3efdb0fd8b4c7af3016f911e048fc356c5b2a241e06c5bc30f085ce7\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:40.860 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:49:40.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:40.860 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-06 10:49:40.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2024/05/06 10:49:40.958 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [category=ddl] [job="ID:101, Type:create schema, State:queueing, SchemaState:none, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:40.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:41.088 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=101] [job="ID:101, Type:create schema, State:synced, SchemaState:public, SchemaID:100, TableID:0, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:40.84 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:41.123 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=101] [2024/05/06 10:49:41.124 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:41.201 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:49:41.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:41.201 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:3, start time: 2024-05-06 10:49:41.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2024/05/06 10:49:41.268 +00:00] [INFO] ["run DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [category=ddl] [job="ID:103, Type:create view, State:queueing, SchemaState:none, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:41.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:41.434 +00:00] [INFO] ["finish DDL job"] [worker="worker 1, tp general"] [category=ddl] [jobID=103] [job="ID:103, Type:create view, State:synced, SchemaState:public, SchemaID:100, TableID:102, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:41.157 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:41.498 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=103] [2024/05/06 10:49:41.498 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:41.499 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Query_time: 0.369552239\n# Parse_time: 0\n# Compile_time: 0.011064352\n# Rewrite_time: 0.003366794\n# Optimize_time: 0\n# Wait_TS: 0.0001528\n# DB: mysql\n# Is_internal: true\n# Digest: 04175714d714f771531a56c7ae3f097cec113655220f87ac336c5ae44d3d3f8f\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\n;"] [2024/05/06 10:49:42.340 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 449575015284998144\n# Query_time: 0.606763787\n# Parse_time: 0\n# Compile_time: 0.305661857\n# Rewrite_time: 0.007862783\n# Optimize_time: 0\n# Wait_TS: 0\n# DB: mysql\n# Is_internal: true\n# Digest: eb58d96d7eba9ae407efec64db335db75d58891b8cfae5274e34deeeb21575de\n# Num_cop_tasks: 0\n# Mem_max: 363337\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: true\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('owPwPDAJMjdfMQkwCTAJTi9BCTAJdGltZToyODQuN21zLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDQxLjkBIkxhdXRvX2lkX2FsbG9jYXRvcjogewUMZF9jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0AUEAXwVouDE0My4xwrVzfSwgY29tbWl0X3R4bjoge3ByZXdyaXRlOjUyOS43wrVzLCBnZXRfESQIczoyATYALA01GDo1NjYuOcIBJhxzbG93ZXN0XxFBBXQAIBG0YDAuMDAwcywgcmVnaW9uX2lkOiAyLCBzdG8B2QUHCDEsIBmMGHByaW1hcnnWRAANZAhudW0B9AXODF9rZXklTQkOnGJ5dGU6MzJ9fX0sIGluc2VydDoyNDIuOG1zCTEwNi44IEtCCU4vQQo=')\n# Resource_group: default\n;"] [2024/05/06 10:49:42.609 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:42.609 +00:00] [INFO] ["DDL worker closed"] [worker="worker 5, tp add index"] [category=ddl] ["take time"=45.613Β΅s] [2024/05/06 10:49:42.609 +00:00] [INFO] ["DDL worker closed"] [worker="worker 2, tp add index"] [category=ddl] ["take time"=26.126Β΅s] [2024/05/06 10:49:42.609 +00:00] [INFO] ["DDL worker closed"] [worker="worker 3, tp add index"] [category=ddl] ["take time"=26.756Β΅s] [2024/05/06 10:49:42.609 +00:00] [INFO] ["DDL worker closed"] [worker="worker 4, tp add index"] [category=ddl] ["take time"=18.979Β΅s] [2024/05/06 10:49:42.609 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:42.609 +00:00] [INFO] ["DDL worker closed"] [worker="worker 1, tp general"] [category=ddl] ["take time"=5.312Β΅s] [2024/05/06 10:49:42.609 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:42.609 +00:00] [INFO] ["closing delRange"] [category=ddl] [2024/05/06 10:49:42.609 +00:00] [INFO] ["closing session pool"] [category=ddl] [2024/05/06 10:49:42.636 +00:00] [INFO] ["DDL closed"] [category=ddl] [ID=250e9be1-6982-4a43-a978-6ad8735c4e4c] ["take time"=33.204432ms] [2024/05/06 10:49:42.636 +00:00] [INFO] ["stop DDL"] [category=ddl] [ID=250e9be1-6982-4a43-a978-6ad8735c4e4c] [2024/05/06 10:49:43.011 +00:00] [INFO] ["start DDL"] [category=ddl] [ID=497afa96-8032-4f4c-aa2e-3e73ca26baf3] [runWorker=true] [2024/05/06 10:49:43.012 +00:00] [INFO] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=true] [2024/05/06 10:49:43.012 +00:00] [WARN] ["initialize environment failed"] [category=ddl-ingest] ["storage limitation"="only support TiKV storage"] ["current storage"=unistore] ["lightning is initialized"=false] [2024/05/06 10:49:43.013 +00:00] [INFO] ["start delRange emulator"] [category=ddl] [2024/05/06 10:49:43.018 +00:00] [INFO] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2024/05/06 10:49:43.019 +00:00] [INFO] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2024/05/06 10:49:43.307 +00:00] [INFO] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=342.3GiB] [2024/05/06 10:49:43.317 +00:00] [INFO] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:49:43.317 +00:00] [INFO] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4] [2024/05/06 10:49:43.327 +00:00] [INFO] ["task executor manager start"] [server-id=:4000] [2024/05/06 10:49:43.383 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:43.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:43.383 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:43.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t (id int, a int, b int, index idx_a(`a`))"] [2024/05/06 10:49:43.465 +00:00] [INFO] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [category=ddl] [job="ID:105, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:43.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:43.673 +00:00] [INFO] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=105] [conn=1] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:43.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:43.730 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=105] [2024/05/06 10:49:43.730 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:43.732 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.401401544\n# Parse_time: 0.001599793\n# Compile_time: 0.001739733\n# Rewrite_time: 0.00001081\n# Optimize_time: 0.00061614\n# Wait_TS: 0.000135857\n# DB: test\n# Is_internal: false\n# Digest: 8bfec93d6adce480696a3ede5bade8fe3c0f3d94972c6a4faa6115a543d92bd6\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ncreate table t (id int, a int, b int, index idx_a(`a`));"] [2024/05/06 10:49:43.837 +00:00] [INFO] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:43.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true] [2024/05/06 10:49:43.837 +00:00] [INFO] ["start DDL job"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:2, start time: 2024-05-06 10:49:43.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="create table t_MemTracker4InsertAndReplaceExec (id int, a int, b int, index idx_a(`a`))"] [2024/05/06 10:49:43.892 +00:00] [INFO] ["run DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:43.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:44.166 +00:00] [INFO] ["finish DDL job"] [worker="worker 6, tp general"] [category=ddl] [jobID=107] [conn=1] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:106, RowCount:0, ArgLen:0, start time: 2024-05-06 10:49:43.782 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/06 10:49:44.235 +00:00] [INFO] ["DDL job is finished"] [category=ddl] [jobID=107] [2024/05/06 10:49:44.235 +00:00] [INFO] ["performing DDL change, must reload"] [category=ddl] [2024/05/06 10:49:44.237 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.48340229\n# Parse_time: 0.001148311\n# Compile_time: 0.001578579\n# Rewrite_time: 0.000014086\n# Optimize_time: 0.00061614\n# Wait_TS: 0.000132865\n# DB: test\n# Is_internal: false\n# Digest: 07dfbbac081a3ed253d5c353749841ee2a5e917152a0088bc767f251cf177ee5\n# Num_cop_tasks: 0\n# Mem_max: 4096\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncreate table t_MemTracker4InsertAndReplaceExec (id int, a int, b int, index idx_a(`a`));"] [2024/05/06 10:49:44.318 +00:00] [INFO] ["TimerGroupRuntime loop started"] [groupID=ttl] [2024/05/06 10:49:44.318 +00:00] [INFO] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] oom_test.go:118: Error Trace: pkg/executor/test/oomtest/oom_test.go:118 Error: Not equal: expected: "" actual : "initialize slot capacity" Diff: --- Expected +++ Actual @@ -1 +1 @@ - +initialize slot capacity Test: TestMemTracker4InsertAndReplaceExec [2024/05/06 10:49:44.355 +00:00] [INFO] ["collect loop start"] [server-id=:4000] [2024/05/06 10:49:44.355 +00:00] [INFO] ["schedule task loop start"] [server-id=:4000] [2024/05/06 10:49:44.356 +00:00] [INFO] ["subtask table gc loop start"] [server-id=:4000] [2024/05/06 10:49:44.356 +00:00] [INFO] ["cleanup loop start"] [server-id=:4000] [2024/05/06 10:49:44.397 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:44.398 +00:00] [INFO] ["DDL worker closed"] [worker="worker 9, tp add index"] [category=ddl] ["take time"=29.954Β΅s] [2024/05/06 10:49:44.398 +00:00] [INFO] ["DDL worker closed"] [worker="worker 10, tp add index"] [category=ddl] ["take time"=19.951Β΅s] [2024/05/06 10:49:44.398 +00:00] [INFO] ["DDL worker closed"] [worker="worker 7, tp add index"] [category=ddl] ["take time"=21.592Β΅s] [2024/05/06 10:49:44.398 +00:00] [INFO] ["DDL worker closed"] [worker="worker 8, tp add index"] [category=ddl] ["take time"=19.586Β΅s] [2024/05/06 10:49:44.398 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:44.398 +00:00] [INFO] ["DDL worker closed"] [worker="worker 6, tp general"] [category=ddl] ["take time"=11.477Β΅s] [2024/05/06 10:49:44.398 +00:00] [INFO] ["closing workerPool"] [category=ddl] [2024/05/06 10:49:44.398 +00:00] [INFO] ["closing delRange"] [category=ddl] [2024/05/06 10:49:44.398 +00:00] [INFO] ["closing session pool"] [category=ddl] [2024/05/06 10:49:44.400 +00:00] [INFO] ["DDL closed"] [category=ddl] [ID=497afa96-8032-4f4c-aa2e-3e73ca26baf3] ["take time"=54.667936ms] [2024/05/06 10:49:44.400 +00:00] [INFO] ["stop DDL"] [category=ddl] [ID=497afa96-8032-4f4c-aa2e-3e73ca26baf3] [2024/05/06 10:49:44.400 +00:00] [INFO] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2024/05/06 10:49:44.401 +00:00] [INFO] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:49:44.401 +00:00] [INFO] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=4] [newCount=0] [2024/05/06 10:49:44.411 +00:00] [INFO] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [2024/05/06 10:49:44.411 +00:00] [INFO] ["handle tasks loop done"] [server-id=:4000] [2024/05/06 10:49:44.412 +00:00] [INFO] ["recoverMetaLoop done"] [server-id=:4000] [2024/05/06 10:49:44.412 +00:00] [INFO] ["collect loop exits"] [server-id=:4000] [2024/05/06 10:49:44.412 +00:00] [INFO] ["subtask history table gc loop exits"] [server-id=:4000] [2024/05/06 10:49:44.412 +00:00] [INFO] ["schedule task loop exits"] [server-id=:4000] [2024/05/06 10:49:44.413 +00:00] [INFO] ["cleanup loop exits"] [server-id=:4000] --- FAIL: TestMemTracker4InsertAndReplaceExec (30.40s) FAIL coverage: 9.6% of statements -- Coverage runner: Not collecting coverage for failed test. The following commands failed with status 1 /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/11933/execroot/__main__/bazel-out/k8-fastbuild/bin/pkg/executor/test/oomtest/oomtest_test_/oomtest_test.runfiles/__main__/pkg/executor/test/oomtest/oomtest_test_/oomtest_test ================================================================================ [13,013 / 13,487] 323 / 411 tests; Testing //pkg/executor/test/oomtest:oomtest_test (shard 2 of 3); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,014 / 13,487] 323 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 4 of 5); 35s remote-cache, linux-sandbox ... (70 actions running) [13,016 / 13,487] 323 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 4 of 5); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,025 / 13,489] 323 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 4 of 5); 38s remote-cache, linux-sandbox ... (70 actions running) [13,026 / 13,489] 323 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 4 of 5); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,027 / 13,489] 323 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 4 of 5); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,038 / 13,489] 323 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 30 of 32); 34s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,038 / 13,489] 323 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 30 of 32); 35s remote-cache, linux-sandbox ... (70 actions running) [13,044 / 13,489] 324 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,047 / 13,489] 324 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 36s remote-cache, linux-sandbox ... (70 actions running) [13,049 / 13,489] 325 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 37s remote-cache, linux-sandbox ... (70 actions running) [13,053 / 13,489] 325 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 39s remote-cache, linux-sandbox ... (70 actions running) [13,058 / 13,489] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 40s remote-cache, linux-sandbox ... (70 actions running) [13,059 / 13,489] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,064 / 13,489] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 2 of 42); 43s remote-cache, linux-sandbox ... (70 actions running) [13,068 / 13,489] 326 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 3 of 42); 36s remote-cache, linux-sandbox ... (70 actions running) [13,069 / 13,489] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 36s remote-cache, linux-sandbox ... (70 actions running) [13,072 / 13,489] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,076 / 13,489] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,077 / 13,489] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,082 / 13,491] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 41s remote-cache, linux-sandbox ... (70 actions running) [13,085 / 13,491] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 42s remote-cache, linux-sandbox ... (70 actions running) [13,089 / 13,497] 326 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 44s remote-cache, linux-sandbox ... (70 actions running) [13,094 / 13,497] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 46s remote-cache, linux-sandbox ... (70 actions running) [13,096 / 13,497] 327 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 47s remote-cache, linux-sandbox ... (70 actions running) [13,098 / 13,497] 328 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,104 / 13,497] 328 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 50s remote-cache, linux-sandbox ... (70 actions running) [13,109 / 13,497] 329 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 51s remote-cache, linux-sandbox ... (70 actions running) [13,115 / 13,497] 329 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,117 / 13,497] 329 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 54s remote-cache, linux-sandbox ... (70 actions running) [13,119 / 13,497] 329 / 411 tests; Testing //pkg/statistics/handle/handletest/statstest:statstest_test (shard 3 of 12); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,125 / 13,503] 329 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,130 / 13,503] 329 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,131 / 13,503] 329 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 41 of 42); 49s remote-cache, linux-sandbox ... (70 actions running) [13,135 / 13,503] 329 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 43s remote-cache, linux-sandbox ... (67 actions, 65 running) [13,142 / 13,528] 329 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,142 / 13,528] 329 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 46s remote-cache, linux-sandbox ... (70 actions running) [13,146 / 13,530] 330 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,151 / 13,536] 330 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,155 / 13,536] 330 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 50s remote-cache, linux-sandbox ... (70 actions running) [13,155 / 13,536] 330 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 51s remote-cache, linux-sandbox ... (70 actions running) [13,158 / 13,536] 332 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 52s remote-cache, linux-sandbox ... (70 actions running) [13,164 / 13,545] 332 / 411 tests; Testing //pkg/executor:executor_test (shard 22 of 50); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,172 / 13,545] 333 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,174 / 13,547] 333 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 52s remote-cache, linux-sandbox ... (70 actions running) [13,179 / 13,547] 333 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,184 / 13,547] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,190 / 13,551] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,194 / 13,551] 334 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 57s remote-cache, linux-sandbox ... (70 actions running) [13,195 / 13,551] 335 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 58s remote-cache, linux-sandbox ... (70 actions running) [13,199 / 13,551] 335 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 59s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,202 / 13,563] 335 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 3 of 5); 61s remote-cache, linux-sandbox ... (70 actions running) [13,207 / 13,563] 335 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 50s remote-cache, linux-sandbox ... (70 actions running) [13,207 / 13,563] 335 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 52s remote-cache, linux-sandbox ... (70 actions running) [13,216 / 13,563] 336 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 54s remote-cache, linux-sandbox ... (70 actions running) [13,222 / 13,567] 336 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 55s remote-cache, linux-sandbox ... (70 actions running) [13,224 / 13,567] 336 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,226 / 13,567] 336 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,236 / 13,573] 337 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 59s remote-cache, linux-sandbox ... (70 actions running) [13,240 / 13,573] 338 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,243 / 13,573] 338 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 62s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,246 / 13,573] 338 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 63s remote-cache, linux-sandbox ... (70 actions running) [13,249 / 13,573] 339 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 64s remote-cache, linux-sandbox ... (70 actions running) [13,250 / 13,573] 339 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 65s remote-cache, linux-sandbox ... (70 actions running) [13,252 / 13,573] 340 / 411 tests; Testing //pkg/session/test/txn:txn_test (shard 2 of 8); 66s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,261 / 13,573] 340 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,266 / 13,575] 340 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,266 / 13,575] 340 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 43s remote-cache, linux-sandbox ... (70 actions running) [13,269 / 13,577] 340 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,276 / 13,577] 341 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,279 / 13,577] 343 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [13,284 / 13,588] 343 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 48s remote-cache, linux-sandbox ... (70 actions running) [13,288 / 13,588] 344 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,289 / 13,588] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [13,295 / 13,588] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,298 / 13,590] 345 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,302 / 13,590] 346 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [13,303 / 13,590] 346 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 55s remote-cache, linux-sandbox ... (70 actions running) [13,304 / 13,590] 346 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 40 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [13,308 / 13,609] 346 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 45s remote-cache, linux-sandbox ... (70 actions running) [13,312 / 13,660] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 46s remote-cache, linux-sandbox ... (70 actions running) [13,315 / 13,666] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 47s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,324 / 13,666] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,333 / 13,745] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,333 / 13,745] 347 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 51s remote-cache, linux-sandbox ... (70 actions running) [13,340 / 13,753] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,343 / 13,753] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,346 / 13,753] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,355 / 13,811] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,357 / 13,811] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 57s remote-cache, linux-sandbox ... (70 actions running) [13,364 / 13,811] 348 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 58s remote-cache, linux-sandbox ... (70 actions running) [13,368 / 13,811] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [13,374 / 13,811] 349 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,377 / 13,819] 350 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 61s remote-cache, linux-sandbox ... (70 actions running) [13,383 / 13,819] 351 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 63s remote-cache, linux-sandbox ... (70 actions running) [13,383 / 13,819] 351 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 64s remote-cache, linux-sandbox ... (70 actions running) [13,395 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 65s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,398 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 67s remote-cache, linux-sandbox ... (70 actions running) [13,400 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 68s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,404 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,409 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,411 / 13,819] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,414 / 13,827] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 73s remote-cache, linux-sandbox ... (70 actions running) [13,417 / 13,834] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 74s remote-cache, linux-sandbox ... (70 actions running) [13,426 / 13,846] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 75s remote-cache, linux-sandbox ... (70 actions running) [13,429 / 13,846] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 76s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,433 / 13,846] 352 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 6 of 42); 77s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,436 / 13,846] 352 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,441 / 13,846] 352 / 411 tests; Testing //pkg/statistics/handle/handletest/analyze:analyze_test (shard 2 of 5); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,448 / 13,846] 352 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 36s remote-cache, linux-sandbox ... (70 actions running) [13,453 / 13,846] 353 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 38s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,456 / 13,846] 353 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 39s remote-cache, linux-sandbox ... (70 actions running) [13,460 / 13,846] 353 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 40s remote-cache, linux-sandbox ... (70 actions running) [13,466 / 13,846] 354 / 411 tests; Testing //pkg/executor/test/admintest:admintest_test (shard 18 of 18); 41s remote-cache, linux-sandbox ... (70 actions running) [13,472 / 13,846] 354 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 26 of 32); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,475 / 13,846] 354 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 26 of 32); 33s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,479 / 13,846] 354 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 26 of 32); 34s remote-cache, linux-sandbox ... (70 actions running) [13,484 / 13,846] 355 / 411 tests; Testing //pkg/planner/core/casetest/physicalplantest:physicalplantest_test (shard 26 of 32); 35s remote-cache, linux-sandbox ... (70 actions running) [13,489 / 13,846] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [13,490 / 13,855] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,497 / 13,855] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,501 / 13,855] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [13,501 / 13,855] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 39s remote-cache, linux-sandbox ... (70 actions running) [13,504 / 13,855] 355 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,513 / 13,875] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,517 / 13,875] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 42s remote-cache, linux-sandbox ... (69 actions running) [13,522 / 13,924] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,523 / 13,924] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,530 / 13,953] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 45s remote-cache, linux-sandbox ... (69 actions running) [13,533 / 13,953] 356 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 10 of 42); 46s remote-cache, linux-sandbox ... (68 actions, 67 running) [13,537 / 13,953] 357 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 17 of 33); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,544 / 13,953] 358 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,549 / 13,953] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 40s remote-cache, linux-sandbox ... (70 actions running) [13,550 / 13,953] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,553 / 13,953] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 42s remote-cache, linux-sandbox ... (67 actions, 66 running) [13,560 / 13,976] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,562 / 13,976] 359 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 45s remote-cache, linux-sandbox ... (70 actions running) [13,565 / 13,976] 360 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,570 / 13,976] 361 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,578 / 13,976] 361 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 49s remote-cache, linux-sandbox ... (70 actions running) [13,584 / 13,976] 362 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 51s remote-cache, linux-sandbox ... (70 actions running) [13,591 / 13,985] 362 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 52s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,597 / 13,985] 362 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,599 / 13,985] 362 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,603 / 13,985] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 55s remote-cache, linux-sandbox ... (70 actions running) [13,608 / 13,985] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 57s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,614 / 13,985] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,620 / 13,985] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 59s remote-cache, linux-sandbox ... (70 actions running) [13,623 / 13,985] 363 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,629 / 13,991] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 62s remote-cache, linux-sandbox ... (70 actions running) [13,638 / 13,993] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,641 / 13,993] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 64s remote-cache, linux-sandbox ... (70 actions running) [13,641 / 13,993] 364 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 66s remote-cache, linux-sandbox ... (70 actions running) [13,650 / 13,993] 365 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 67s remote-cache, linux-sandbox ... (70 actions running) [13,658 / 14,004] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 68s remote-cache, linux-sandbox ... (70 actions running) [13,661 / 14,037] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 69s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,664 / 14,037] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 70s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,670 / 14,037] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 72s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,674 / 14,037] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 73s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,678 / 14,050] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 74s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,680 / 14,050] 366 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 75s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,685 / 14,050] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 76s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,690 / 14,050] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 77s remote-cache, linux-sandbox ... (70 actions running) [13,695 / 14,050] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 79s remote-cache, linux-sandbox ... (70 actions running) [13,705 / 14,087] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 81s remote-cache, linux-sandbox ... (68 actions, 66 running) [13,711 / 14,087] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 82s remote-cache, linux-sandbox ... (70 actions running) [13,714 / 14,087] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 83s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,724 / 14,087] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 85s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,735 / 14,087] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 86s remote-cache, linux-sandbox ... (70 actions running) [13,740 / 14,115] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 87s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,747 / 14,115] 367 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 89s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,751 / 14,115] 368 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 90s remote-cache, linux-sandbox ... (67 actions, 65 running) [13,759 / 14,115] 369 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 91s remote-cache, linux-sandbox ... (70 actions running) [13,766 / 14,115] 370 / 411 tests; Testing //pkg/statistics/handle/handletest:handletest_test (shard 18 of 33); 92s remote-cache, linux-sandbox ... (70 actions running) [13,773 / 14,115] 370 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,777 / 14,115] 370 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,784 / 14,115] 370 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 52s remote-cache, linux-sandbox ... (70 actions running) [13,791 / 14,115] 371 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [13,794 / 14,166] 371 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 54s remote-cache, linux-sandbox ... (70 actions running) [13,795 / 14,166] 371 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,807 / 14,166] 371 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 37 of 42); 56s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,818 / 14,179] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 39s remote-cache, linux-sandbox ... (70 actions running) [13,821 / 14,181] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 40s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,828 / 14,181] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 41s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,838 / 14,181] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 43s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,846 / 14,181] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,854 / 14,203] 371 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 45s remote-cache, linux-sandbox ... (70 actions running) [13,858 / 14,203] 373 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,862 / 14,203] 374 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 47s remote-cache, linux-sandbox ... (70 actions running) [13,881 / 14,203] 375 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,888 / 14,203] 375 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,889 / 14,203] 375 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 7 of 17); 51s remote-cache, linux-sandbox ... (70 actions running) [13,900 / 14,203] 375 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 31s remote-cache, linux-sandbox ... (70 actions running) [13,900 / 14,203] 375 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 33s remote-cache, linux-sandbox ... (70 actions running) [13,903 / 14,203] 375 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 15 of 42); 34s remote-cache, linux-sandbox ... (70 actions running) [13,927 / 14,226] 375 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 29s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,929 / 14,226] 375 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 30s remote-cache, linux-sandbox ... (70 actions running) [13,932 / 14,244] 375 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 31s remote-cache, linux-sandbox ... (70 actions running) [13,936 / 14,297] 375 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,937 / 14,297] 376 / 411 tests; Testing //pkg/ddl/tests/partition:partition_test (shard 28 of 45); 34s remote-cache, linux-sandbox ... (70 actions running) [13,964 / 14,321] 376 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 9 of 17); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [13,969 / 14,321] 377 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 9 of 17); 27s remote-cache, linux-sandbox ... (70 actions running) [13,971 / 14,321] 378 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 9 of 17); 29s remote-cache, linux-sandbox ... (70 actions running) [13,972 / 14,321] 379 / 411 tests; Testing //pkg/planner/core/casetest/cbotest:cbotest_test (shard 9 of 17); 30s remote-cache, linux-sandbox ... (70 actions running) [13,984 / 14,321] 380 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 36 of 42); 30s remote-cache, linux-sandbox ... (70 actions running) [14,001 / 14,321] 380 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 36 of 42); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,004 / 14,321] 381 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 21s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,011 / 14,321] 382 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 22s remote-cache, linux-sandbox ... (70 actions running) [14,014 / 14,321] 382 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 24s remote-cache, linux-sandbox ... (70 actions running) [14,025 / 14,321] 383 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,035 / 14,323] 383 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,047 / 14,323] 383 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 28s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,048 / 14,323] 383 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 29s remote-cache, linux-sandbox ... (70 actions running) [14,056 / 14,323] 384 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 30s remote-cache, linux-sandbox ... (70 actions running) [14,068 / 14,323] 384 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 16 of 42); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,082 / 14,323] 385 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 25s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,086 / 14,323] 385 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 26s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,087 / 14,323] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 27s remote-cache, linux-sandbox ... (70 actions running) [14,100 / 14,323] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 29s remote-cache, linux-sandbox ... (70 actions running) [14,112 / 14,323] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 30s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,115 / 14,323] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 32s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,118 / 14,323] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 33s remote-cache, linux-sandbox ... (70 actions running) [14,129 / 14,348] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 34s remote-cache, linux-sandbox ... (69 actions running) [14,144 / 14,348] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 35s remote-cache, linux-sandbox ... (69 actions running) [14,152 / 14,373] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 37s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,158 / 14,397] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 38s remote-cache, linux-sandbox ... (70 actions running) [14,163 / 14,397] 386 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 17 of 42); 39s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,169 / 14,397] 386 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 28s remote-cache, linux-sandbox ... (70 actions running) [14,187 / 14,397] 388 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 29s remote-cache, linux-sandbox ... (70 actions running) [14,201 / 14,397] 388 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 31s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,203 / 14,397] 388 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 32s remote-cache, linux-sandbox ... (70 actions running) [14,205 / 14,397] 388 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 33s remote-cache, linux-sandbox ... (70 actions running) [14,216 / 14,397] 389 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 34s remote-cache, linux-sandbox ... (70 actions running) [14,224 / 14,397] 390 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 35s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,237 / 14,397] 390 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 36s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,244 / 14,397] 391 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 37s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,248 / 14,397] 391 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 39s remote-cache, linux-sandbox ... (70 actions running) [14,258 / 14,397] 392 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 40s remote-cache, linux-sandbox ... (70 actions running) [14,268 / 14,417] 394 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 41s remote-cache, linux-sandbox ... (68 actions, 66 running) [14,272 / 14,417] 394 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 42s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,275 / 14,417] 394 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,281 / 14,417] 394 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,292 / 14,417] 395 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 46s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,304 / 14,426] 395 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 47s remote-cache, linux-sandbox ... (69 actions running) [14,311 / 14,454] 395 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,319 / 14,454] 396 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 49s remote-cache, linux-sandbox ... (70 actions running) [14,323 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 50s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,332 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,338 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 53s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,341 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 54s remote-cache, linux-sandbox ... (70 actions running) [14,345 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 55s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,347 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 57s remote-cache, linux-sandbox ... (70 actions running) [14,351 / 14,454] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 58s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,357 / 14,466] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 59s remote-cache, linux-sandbox ... (70 actions running) [14,362 / 14,497] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,364 / 14,497] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,368 / 14,497] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 63s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,372 / 14,519] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 64s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,377 / 14,521] 397 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 65s remote-cache, linux-sandbox ... (70 actions running) [14,386 / 14,521] 398 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 66s remote-cache, linux-sandbox ... (70 actions running) [14,387 / 14,521] 398 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 67s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,392 / 14,521] 399 / 411 tests; Testing //pkg/server/handler/tests:tests_test (shard 5 of 39); 68s remote-cache, linux-sandbox ... (70 actions running) [14,397 / 14,521] 400 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 43s remote-cache, linux-sandbox ... (68 actions running) [14,404 / 14,521] 401 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 44s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,410 / 14,521] 401 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 45s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,414 / 14,521] 401 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 47s remote-cache, linux-sandbox ... (70 actions running) [14,420 / 14,521] 401 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 48s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,424 / 14,521] 401 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 49s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,424 / 14,521] 402 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 50s remote-cache, linux-sandbox ... (70 actions running) [14,440 / 14,521] 402 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 51s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,444 / 14,521] 403 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 53s remote-cache, linux-sandbox ... (70 actions running) [14,447 / 14,521] 403 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 54s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,448 / 14,521] 403 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 56s remote-cache, linux-sandbox ... (70 actions running) [14,455 / 14,521] 404 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 57s remote-cache, linux-sandbox ... (67 actions, 66 running) [14,467 / 14,521] 404 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 59s remote-cache, linux-sandbox ... (70 actions running) [14,471 / 14,521] 404 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 60s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,479 / 14,521] 406 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 61s remote-cache, linux-sandbox ... (69 actions, 68 running) [14,493 / 14,521] 406 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 63s remote-cache, linux-sandbox ... (56 actions running) [14,495 / 14,521] 406 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 65s remote-cache, linux-sandbox ... (52 actions running) [14,506 / 14,521] 408 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 66s remote-cache, linux-sandbox ... (30 actions running) [14,509 / 14,521] 408 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 68s remote-cache, linux-sandbox ... (24 actions running) [14,511 / 14,521] 408 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 71s remote-cache, linux-sandbox ... (20 actions running) [14,512 / 14,521] 408 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 73s remote-cache, linux-sandbox ... (18 actions running) [14,514 / 14,521] 408 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 75s remote-cache, linux-sandbox ... (14 actions running) [14,514 / 14,521] 409 / 411 tests; Testing //pkg/executor/test/tiflashtest:tiflashtest_test (shard 19 of 42); 76s remote-cache, linux-sandbox ... (14 actions running) [14,516 / 14,521] 409 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 26s remote-cache, linux-sandbox ... (10 actions running) [14,517 / 14,521] 410 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 28s remote-cache, linux-sandbox ... (8 actions running) [14,519 / 14,521] 410 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 18 of 21); 30s remote-cache, linux-sandbox ... (4 actions running) [14,520 / 14,521] 410 / 411 tests; Testing //pkg/extension/enterprise/audit:audit_test (shard 16 of 21); 24s remote-cache, linux-sandbox INFO: Elapsed time: 1354.476s, Critical Path: 486.87s INFO: 14509 processes: 8555 remote cache hit, 1657 internal, 4297 linux-sandbox. INFO: Build completed successfully, 14509 total actions //pkg/executor/test/oomtest:oomtest_test FLAKY, failed in 1 out of 4 in 37.9s Stats over 4 runs: max = 37.9s, min = 35.3s, avg = 36.3s, dev = 1.0s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/executor/test/oomtest/oomtest_test/shard_3_of_3/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/executor/test/oomtest/oomtest_test/shard_1_of_3/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/executor/test/oomtest/oomtest_test/shard_2_of_3/coverage.dat //pkg/disttask/framework/storage:storage_test FLAKY, failed in 1 out of 23 in 38.5s Stats over 23 runs: max = 38.5s, min = 7.2s, avg = 34.2s, dev = 6.1s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_22_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_1_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_2_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_21_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_5_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_4_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_3_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_20_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_6_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_8_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_7_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_19_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_9_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_11_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_10_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_18_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_12_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_13_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_14_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_17_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_15_of_22/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/disttask/framework/storage/storage_test/shard_16_of_22/coverage.dat //pkg/ddl:ddl_test FLAKY, failed in 2 out of 52 in 300.2s Stats over 52 runs: max = 300.2s, min = 14.1s, avg = 29.1s, dev = 38.9s /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_50_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_49_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_1_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_48_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_47_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_2_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_4_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_5_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_46_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_3_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_6_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_45_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_7_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_8_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_44_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_9_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_11_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_10_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_43_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_13_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_12_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_14_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_15_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_42_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_16_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_19_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_18_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_41_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_20_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_21_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_40_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_22_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_39_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_23_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_24_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_25_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_38_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_26_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_27_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_28_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_29_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_37_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_30_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_32_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_33_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_36_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_34_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_31_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_35_of_50/coverage.dat /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs/pkg/ddl/ddl_test/shard_17_of_50/coverage.dat Test cases: finished with 7965 passing and 0 failing out of 7965 test cases Executed 190 out of 411 tests: 411 tests pass. root: /home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/execroot/__main__/bazel-out/k8-fastbuild/testlogs complete to collect bazel result. [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/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: TestTaskState new flaky case: TestRepairTable new flaky case: TestMemTracker4InsertAndReplaceExec Output files: bazel-flaky-summaries.log bazel-go-test-index.log bazel-go-test-problem-cases.json bazel-target-output-L1425-9103.fail.log bazel-target-output-L19755-20210.fail.log bazel-target-output-L394-1207.fail.log bazel-target-output-L9255-19596.timeout.log [Pipeline] sh ++ uuidgen + timeout 10 curl --verbose --request POST --url http://cloudevents-server.apps.svc/events --header 'ce-id: 7983cfb0-bfca-4e13-9d7e-cda6244c4302' --header 'ce-source: https://do.pingcap.net/jenkins/' --header 'ce-type: test-case-run-report' --header 'ce-repo: pingcap/tidb' --header 'ce-branch: master' --header 'ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/' --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: 7983cfb0-bfca-4e13-9d7e-cda6244c4302 > ce-source: https://do.pingcap.net/jenkins/ > ce-type: test-case-run-report > ce-repo: pingcap/tidb > ce-branch: master > ce-buildurl: https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_unit_test/8951/ > ce-specversion: 1.0 > content-type: application/json; charset=UTF-8 > Content-Length: 492 > } [data not shown] * upload completely sent off: 492 out of 492 bytes 100 492 0 0 100 492 0 488 0:00:01 0:00:01 --:--:-- 489 100 492 0 0 100 492 0 245 0:00:02 0:00:02 --:--:-- 245 100 492 0 0 100 492 0 163 0:00:03 0:00:03 --:--:-- 163< HTTP/1.1 200 OK < Date: Mon, 06 May 2024 11:02:19 GMT < Content-Length: 0 < 100 492 0 0 100 492 0 132 0:00:03 0:00:03 --:--:-- 132 100 492 0 0 100 492 0 132 0:00:03 0:00:03 --:--:-- 132 * Connection #0 to host cloudevents-server.apps.svc left intact [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_unit_test/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-06T11:02:21.576Z] ['info'] _____ _ / ____| | | | | ___ __| | ___ ___ _____ __ | | / _ \ / _` |/ _ \/ __/ _ \ \ / / | |___| (_) | (_| | __/ (_| (_) \ V / \_____\___/ \__,_|\___|\___\___/ \_/ Codecov report uploader 0.5.0 [2024-05-06T11:02:21.578Z] ['info'] => Project root located at: . [2024-05-06T11:02:21.581Z] ['info'] -> Token found by environment variables [2024-05-06T11:02:21.594Z] ['info'] Searching for coverage files... [2024-05-06T11:02:24.016Z] ['info'] => Found 1 possible coverage files: ./coverage.dat [2024-05-06T11:02:24.016Z] ['info'] Processing ./coverage.dat... [2024-05-06T11:02:24.493Z] ['info'] Using manual override from args. [2024-05-06T11:02:24.493Z] ['info'] Detected Jenkins CI as the CI provider. [2024-05-06T11:02:24.506Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.5.0&token=*******&branch=origin%2Fpr%2F52663&build=8951&build_url=https%3A%2F%2Fdo.pingcap.net%2Fjenkins%2Fjob%2Fpingcap%2Fjob%2Ftidb%2Fjob%2Fghpr_unit_test%2F8951%2F&commit=764c03c5659efaf4dbc9b48d197d7ef1a765c4eb&job=&pr=52663&service=jenkins&slug=pingcap%2Ftidb&name=&tag=&flags=unit&parent= [2024-05-06T11:02:25.290Z] ['info'] https://app.codecov.io/github/pingcap/tidb/commit/764c03c5659efaf4dbc9b48d197d7ef1a765c4eb https://storage.googleapis.com/codecov/v4/raw/2024-05-06/F6B65B6EE70BEC6C6B5E073ED3BB1A79/764c03c5659efaf4dbc9b48d197d7ef1a765c4eb/e3050380-97db-468d-b87a-0d722297957f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240506%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240506T110225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc7a2cd8335052a1cb1b03b064777e49904a3776f4c8725baa6b86c7a6a28bac [2024-05-06T11:02:25.291Z] ['info'] Uploading... [2024-05-06T11:02:27.342Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/pingcap/tidb/commit/764c03c5659efaf4dbc9b48d197d7ef1a765c4eb"} [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] catchError [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // catchError [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